Forum Replies Created

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

  • RE: How best to handle this deadlock when different table is in the same page

    It is impossible for a page to be shared between two tables. Pages will only ever contain rows from a single table.

    Can you post definitions and index definitions of...

    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: migrated database - change Page Verify to CHECKSUM

    GilaMonster (6/4/2010)


    The rebuild of all indexes (cluster and noncluster) will put checksums onto most pages. Some, like LOB pages may not be touched by rebuilds though.

    If the IO subsystem has...

    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: 12(!) cached execution plans for the same stored procedure in production database

    Interesting.

    What I suggest is that you go through all of the attributes in sys.dm_exec_plan_attributes, one of the columns in there is 'is_cache_key'. If any attributes with that column = 1...

    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: DB Design

    Please don't cross post. It just wastes peoples time and fragments replies.

    No replies to this thread please. Direct replies to: http://www.sqlservercentral.com/Forums/Topic932919-391-1.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: A New DB Design

    Please don't cross post. It just wastes peoples time and fragments replies.

    No replies to this thread please. Direct replies to: http://www.sqlservercentral.com/Forums/Topic932919-391-1.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: migrated database - change Page Verify to CHECKSUM

    Deb Anderson (6/4/2010)


    Everything I've read says that when I do a backup with checksum, it will read each page. I do daily differential backups (which will touch all 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: 12(!) cached execution plans for the same stored procedure in production database

    What does this return? Should be safe to post, there's no info on the query or plan anywhere in there.

    SELECT cp.plan_handle, cp.cacheobjtype, cp.refcounts, cp.usecounts,

    pa.attribute, pa.value

    FROM sys.dm_exec_cached_plans cp

    CROSS APPLY sys.dm_exec_plan_attributes(cp.plan_handle)...

    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: 12(!) cached execution plans for the same stored procedure in production database

    Edit: On second thoughts....

    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: Trying to optimize a WHERE clause

    Ray K (6/4/2010)


    Is there something I'm missing?

    Nope. There's no concatenation of user-inputted values directly into the string, so that's pretty safe as you've done it.

    Just one small point, you don't...

    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: 12(!) cached execution plans for the same stored procedure in production database

    Are all 12 plan handles different?

    Could you perhaps attach the results as an excel sheet? Without seeing results, hard to tell you why there are multiple rows. Can you also...

    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: migrated database - change Page Verify to CHECKSUM

    Deb Anderson (6/4/2010)


    so, utilizing the checksum will give me some peace of mind that the greatest source of my data corruption (i/o subsystem malfunctions) is being monitored.

    But it's not being...

    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: migrated database - change Page Verify to CHECKSUM

    Be careful. The minimum acceptable frequency of CheckDB should be influenced by the retention period of your backups. The idea is that checkDB should run often enough that, should it...

    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: migrated database - change Page Verify to CHECKSUM

    Page verification is not a replacement for checkDB, it's not going to safely allow you to reduce the frequency of CheckDB. Something still needs to read the pages and check...

    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: sqlservr consumes too much memory

    Bhuvnesh (6/4/2010)


    Nils Gustav Stråbø (6/3/2010)


    Set "max server memory" to a specific value that leaves some memory to the OS and other processes running on the server. I usually leave 2...

    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: notify the DBAs when the size of the transaction log reaches certain limit

    mchofman (6/4/2010)


    it is indeed a good idea to backup the logs more frequently, but when the logs grows over 60% between two backups it is a good idea to make...

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