Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Simple recovery model Expand / Collapse
Author
Message
Posted Sunday, March 13, 2011 3:30 AM


SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Tuesday, August 12, 2014 7:14 AM
Points: 248, Visits: 678
we all knew that In the Simple recovery model, the database engine minimally logs most operations and truncates the transaction log after each checkpoint. I really want to know what actually gets stored in tlog when it is using simple recovery model.

____________________________________________________________________
Going in one more round when you don't think you can - that's what makes all the difference in your life --Rocky Balboa

Believe you can and you're halfway there. --Theodore Roosevelt
Post #1077426
Posted Sunday, March 13, 2011 3:35 AM


SSC-Forever

SSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-Forever

Group: General Forum Members
Last Login: Today @ 7:40 AM
Points: 42,804, Visits: 35,923
Other than the few operations that can be minimally logged (see Books Online, Operations that can be minimally logged), it fully logs everything. So most inserts, all updates, all deletes are fully logged. Schema changes are logged (depending what they do how much is logged for each).

Enough information is stored for the DB engine to be able to undo or redo any operation.

If you're curious...
select * from fn_dblog(null, null)




Gail Shaw
Microsoft Certified Master: SQL Server 2008, MVP
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

Post #1077429
Posted Monday, March 14, 2011 5:10 AM


SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Tuesday, August 12, 2014 7:14 AM
Points: 248, Visits: 678
Thanks for the reply gail. Your'e awesome !

____________________________________________________________________
Going in one more round when you don't think you can - that's what makes all the difference in your life --Rocky Balboa

Believe you can and you're halfway there. --Theodore Roosevelt
Post #1077632
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse