Forum Replies Created

Viewing 15 posts - 17,596 through 17,610 (of 49,552 total)

  • RE: deadlock

    Google? (Jonathan Kehayias's blog is a good place to start)

    Any by archive, I mean query the system health and insert any events you want to keep into an archive table.

    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: deadlock

    sqlzealot-81 (7/17/2012)


    However a small doubt, System_health might also not have those details if the deadlock happened for quite long time. It might be overwritten. Please correct me if am wrong.

    Correct,...

    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: Identify Orphan Data "Data Integrity"

    I'm going to assume you don't have foreign keys in place, because if you did SQL would prevent orphaned data. If there are no foreign keys they there's no automatic...

    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: deadlock

    Don't use 1204 on SQL 2008, it's the old traceflag and it produces very hard to read info. 3605 is not necessary for deadlock at all.

    In SQL 2008, you can...

    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: Partitioning in SQL Server 2008 R2

    What is the goal for the partitioning? What are you expecting to achieve?

    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: diffrential backup after restore

    sufiyan.sarguroh (7/17/2012)


    I have a question though, does this mean that a differential backup contains the changes made in a database from the time that a previous full backup was restored...

    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: WAIT TYPE SOS_SCHEDULER_YIELD - Scheduler / Worker Issue SQLOS?

    b.hedge (7/16/2012)


    MAX DOP is 1 and Hyperthreading is off per the vendor recommended settings.

    Not sure I like that recommendation....

    CPU utilization of the server is around 6 - 10% even during...

    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: WAIT TYPE SOS_SCHEDULER_YIELD - Scheduler / Worker Issue SQLOS?

    b.hedge (7/16/2012)


    Why do most workers in sys.dm_os_workers show SUSPENDED and none say RUNNABLE?

    They're waiting for some resource. Can't tell what without seeing wait types

    When you refresh this query it shows...

    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: tran log backup confused 2.5gb log file but 70gb log backup size

    You need to rebuild indexes regularly, not every 6 months. Ola's script will only rebuild what needs rebuilding so avoids the wasted effort of rebuilding indexes that don't need a...

    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: Partitioning in SQL Server 2008 R2

    What is your goal for partitioning?

    If you're talking about table partitioning (partition functions, partition schemes, etc), that's Enterprise only, any database with partitioning will fail to restore to another edition...

    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: tran log backup confused 2.5gb log file but 70gb log backup size

    1) Don't shrink on a regular basis

    2) Don't shrink your log to 0, regrowing a log from 0 is an expensive operation. If you absolutely have to shrink, shrink 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: Defragging Drives on your SQL Server

    Shut SQL down for the duration.

    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: diffrential backup after restore

    sqlfriends (7/16/2012)


    Thanks, what does this mean-in the context of the backup you restored?

    Exactly that, in the context of the database restored from that backup.

    Think about it.

    You took backup 1, let's...

    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: diffrential backup after restore

    In short because you restored the database. There's no way on earth that the diff could have been based off the second full backup, because in the context of 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: Index related question

    http://sqlinthewild.co.za/index.php/2010/09/14/one-wide-index-or-multiple-narrow-indexes/

    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 - 17,596 through 17,610 (of 49,552 total)