Algorithms for Recovery and Isolation Exploiting Semantics: Difference between revisions

Content deleted Content added
Undid revision 721347669 by 27.255.242.55 (talk)
Logging: correct meaning of Redo in Compensation Log Record.
Line 19:
Every transaction implicitly begins with the first "Update" type of entry for the given TransactionID, and is committed with "End Of Log" entry for the transaction.
 
During a recovery or while undoing the actions of an aborted transaction a special kind of log record is written, the Compensation Log Record (CLR), to record that the action has already been undone. CLRs are of the form (Sequence Number, Transaction ID, Page ID, Redo, Previous Sequence Number, Next Undo Sequence Number). The UndoRedo field iscontains omittedapplication becauseof thatUndo informationfield isof alreadyreverted storedaction, inand the originalUndo logfield recordis foromitted because CLR is thosenever actionsreverted.
 
== Recovery ==