Forum Replies Created

Viewing 15 posts - 8,776 through 8,790 (of 49,552 total)

  • RE: VLF and manage log file size.

    smtzac (6/10/2014)


    My question is IN MY SITUATION what's the 'desirable size' would be? another word what size should I give to log file after above process?

    The max amount of space...

    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: Help with setting up Differential backups please (SQL2008)

    Whether it's feasible or not depends on whether it meets your RTO and RPO requirements. I can't answer that.

    Adding diffs every 4 hours to your current strategy will reduce 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: Help with setting up Differential backups please (SQL2008)

    When do you want to run the diffs?

    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: While Restoring the Log backup getting Error

    You restored the full backup WITH RECOVERY (the default), hence SQL recovered the database and brought it online at the end of the restore, allowing no further backups to be...

    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: updating records with BEGIN TRAN

    Andrew Kernodle (6/10/2014)


    ... *Facepalm* Yep, it certainly does.

    So writers don't block readers, instead the read query fetches the previous version out of the version store. The update...

    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: Reduce size of TRN log & backup DB to UNC path (SQL2008) - Help please

    SQLRNNR (6/10/2014)


    Gail forgot was too lazy to mention look up the URL for her blog post on the topic while at work

    😀

    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: Reduce size of TRN log & backup DB to UNC path (SQL2008) - Help please

    dax.latchford (6/10/2014)


    Also what would be a 'Best Practice' approach to shrink the log file?

    I thought I already answered that. If you have regular log backups running, then do a once-off...

    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: Reduce size of TRN log & backup DB to UNC path (SQL2008) - Help please

    dax.latchford (6/10/2014)


    We have a in-house document which suggests the following steps:

    (1) Change the Recovery mode from Full to Simple

    (2) Run a backup against the DB

    (3) Check the location 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: Need help on priorty to run query (urgent)

    Jeff Moden (6/10/2014)


    That's not what I've heard, though.

    Maybe spend some time with Kalen's whitepaper? Lots of people have said lots of garbage about Hekaton.

    I've heard terms such as "Delayed Durability"...

    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: Need help on priorty to run query (urgent)

    Jeff Moden (6/10/2014)


    Grant Fritchey (6/9/2014)


    SQL Server prevents changes from occurring at the same time. It's part of the Atomicity, Consistency, Isolation, and Durabality (ACID) properties of the database. You can'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: Issue with a slow Query

    wall str33t (6/9/2014)


    In clauses are generally slower because people write them instead of joins,

    Are you sure about that? Got some reproducible examples which show that 'ins are generally slower than...

    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...can we really solve this mystery

    To start with... https://www.simple-talk.com/sql/performance/sql-server-deadlocks-by-example/

    That should guide you through identifying and fixing most deadlocks. They do have to be investigated and fixed one by one, there's no magic switch 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: information about 'max_logical_writes' column in sys.dm_exec_query_stats

    Sure, why wouldn't it be?

    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: DBCC CHECKDB ERROR

    Was there another line in the message which you didn't post?

    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: DBCC CHECKDB ERROR

    And it was the entire output, no extra lines that you didn't post?

    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 - 8,776 through 8,790 (of 49,552 total)