will shrink log file or database file cause log file\backup chain to break??

  • Hi Experts,

    Can anyone please let me know whether shrinking log file or database file cause log file\backup chain to break??

    Thanks in Advance.

  • No

    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
  • Ratheesh.K.Nair (12/21/2013)


    Hi Experts,

    Can anyone please let me know whether shrinking log file or database file cause log file\backup chain to break??

    Thanks in Advance.

    What will break the log chain is setting the database to the SIMPLE recovery mode, which is what a lot of people do when shrinking either type of file. I'll also say that it's generally a very bad idea to shrink either type of file unless there has been some extraordinary accidental growth the cause of which has been clearly identified and repaired prior to the shrink. If you can afford the disk space, you might just want to leave the gobs of freespace alone. The exception to that rule is if you know that you'll be restoring the databases to smaller servers that might not have such amounts of freespace and that also includes any Disaster Recovery machines.

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

  • Thanks a lot Gail & Jeff.

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply