Transaction Log and Simple Recovery Model

  • Regarding the transaction log file on a database set to Simple Recovery. SQL Server will truncate the transaction log file each time the database reaches a "transaction checkpoint." Other than a full backup of the database, what are some other "transaction checkpoints?"

    Chris Powell

    George: You're kidding.
    Elroy: Nope.
    George: Then lie to me and say you're kidding.

  • http://msdn.microsoft.com/en-us/library/ms189573(v=sql.90).aspx

    ---------------------------------------------------------------------

  • SQL automatically runs a checkpoint on the databases on a regular basis.

    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
  • This article has the details.

    Pradeep Adiga
    Blog: sqldbadiaries.com
    Twitter: @pradeepadiga

  • Thank you all! As a followup, does a delete record take up more space in the transaction log than an insert and if so, is there any way to know how much more (2 times as much 3, 5?)

    Chris Powell

    George: You're kidding.
    Elroy: Nope.
    George: Then lie to me and say you're kidding.

  • chris.s.powell (12/30/2010)


    Thank you all! As a followup, does a delete record take up more space in the transaction log than an insert and if so, is there any way to know how much more (2 times as much 3, 5?)

    yes! there is a way, you can test it 😀 ... and do not forget to include update statement too.

    _____________________________________
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at Amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.

Viewing 6 posts - 1 through 5 (of 5 total)

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