[prev] 11 [next]

Undo/Redo Logging (cont)

The above description simplifies details of undo/redo logging.

Aries is a complete algorithm for undo/redo logging.

Differences to what we have described:

  • log records contain a sequence numnber (LSN)
  • LSNs used in tx and buffer managers, and stored in data pages
  • additional log record to mark <END> (of commit or abort)
  • <CHKPT> contains only a timestamp
  • <ENDCHKPT..> contains tx and dirty page info