Forum Replies Created

Viewing 15 posts - 12,286 through 12,300 (of 49,552 total)

  • RE: sql server 2005 sp1 is slow

    george sibbald (7/19/2013)


    as the message says it is an advanced setting

    sp_CONFIGURE 'show advanced options',1

    RECONFIGURE

    GO

    sp_CONFIGURE ‘optimize for ad hoc workloads’,1

    RECONFIGURE

    GO

    Optimise for ad-hoc was only added...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: shared & Exculsive latches?

    Data is always read to the buffer pool. PageIOLatches happen when data is needed and is not in the buffer pool, hence has to be read from disk into the...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Log file

    Don't understand what you're asking.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Best Index Rebuild/Reorganize and Update Statistics Strategy

    Jeff Moden (7/21/2013)


    You can simply change back to the FULL recovery mode if in Bulk Logged ....

    You can, but a log backup right before or after the switch is...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Perfomance issue.. TO otimize Joins

    Oh, and ditch the nolock

    See - http://blogs.msdn.com/b/davidlean/archive/2009/04/06/sql-server-nolock-hint-other-poor-ideas.aspx

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Best Index Rebuild/Reorganize and Update Statistics Strategy

    SQL_Surfer (7/21/2013)


    Thanks Gail. Should I expect 10GB growth everytime I rebuild the index?

    No, you should expect the file to grow if there's not enough free space for new indexes to...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Best Index Rebuild/Reorganize and Update Statistics Strategy

    SQL_Surfer (7/21/2013)


    Any idea why DB grows to 10GB more after index maintenance?

    Because SQL had to rebuild the indexes somewhere, if there wasn't space for the new indexes, the...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Perfomance issue.. TO otimize Joins

    Please post table definitions, index definitions and execution plan, as per http://www.sqlservercentral.com/articles/SQLServerCentral/66909/

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Can't reclaim space on log files

    Please read through this - Managing Transaction Logs[/url]

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Best Index Rebuild/Reorganize and Update Statistics Strategy

    index_id of 0 and name of NULL means it's a heap, a table without a clustered index. You can't rebuild a heap.

    And in case anyone posts the 'create a clustered...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: I have few doubts, SOMEONE PLZ ANSWER MY QUEESTIONS –Thanks in advanced.

    balasaukri (7/20/2013)


    4. Shrinking the files in PRIMARY will reflect in SECONDARY in LS/ Mirroring. So shrink the log file in Primary.

    Attempting to shrink a full log is just a waste...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: I have few doubts, SOMEONE PLZ ANSWER MY QUEESTIONS –Thanks in advanced.

    rajeshn29.dba (7/20/2013)


    Hi All

    1.In mirroring If I add data file in primary server will it reflect in mirror server or not?

    If yes can you pls explain me?

    Yes, it'll be reflected just...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Where is the beginners page, i need help?

    neefjakkals (7/19/2013)


    I can restore my .bak file without errors. I can attach the mdf files i copied off the old drive without errors.

    Why restore then attach?

    Surely you want...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Where is the beginners page, i need help?

    There's nothing in there of any use.

    What, exactly are you doing? What is the exact outcome, with error messages.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Where is the beginners page, i need help?

    No idea without an actual error message.

    How are you attaching the DB? And, if you're restoring from backup, shouldn't that be restore not attach?

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 15 posts - 12,286 through 12,300 (of 49,552 total)