Simple recovery model

  • 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

  • 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, 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
  • 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

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

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