December 30, 2010 at 10:06 am
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.
December 30, 2010 at 11:59 am
http://msdn.microsoft.com/en-us/library/ms189573(v=sql.90).aspx
---------------------------------------------------------------------
December 30, 2010 at 12:04 pm
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
December 30, 2010 at 12:34 pm
This article has the details.
Pradeep Adiga
Blog: sqldbadiaries.com
Twitter: @pradeepadiga
December 30, 2010 at 1:21 pm
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.
December 30, 2010 at 2:23 pm
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