Recap

Log Sequence Numbers (LSN)

Main Ideas of ARIES


Phases of ARIES

Phase Description
1. Analysis Identifies active transactions and dirty pages at the time of the crash.
2. Redo Repeats history to reconstruct the database state before the crash.
3. Undo Reverses the effects of transactions that did not commit before the crash.

Analysis Phase

Steps:

  1. Start scanning from the last checkpoint.
  2. If a <TXN-END> record is found, remove the transaction from ATT.
  3. For other records: