Recovery
Full Crash Recovery Trace
A full recovery trace contrasts a winner item with a loser item.
Full crash recovery trace
The full trace combines a committed transaction and a non-committed transaction. Recovery must keep the winner item and remove the loser item. Note: the render shows both sides in one log.
Classify transactions
The compile finds 1 winner and 1 loser. Note: those labels are recomputed from commit status.
a simplified redo/undo recovery over a tiny log; ARIES detail (fuzzy checkpoints, CLRs, media recovery) and real durability/fsync are beyond these traces - no product claims.
Redo and undo
The redo list has 1 write and the undo list has 1 write. Note: redo is winner-only and undo is non-winner rollback.
a simplified redo/undo recovery over a tiny log; ARIES detail (fuzzy checkpoints, CLRs, media recovery) and real durability/fsync are beyond these traces - no product claims.
Recovered state
The recovered state has 2 items. Note: committed writes are authoritative, and loser writes never survive.
a simplified redo/undo recovery over a tiny log; ARIES detail (fuzzy checkpoints, CLRs, media recovery) and real durability/fsync are beyond these traces - no product claims.
Summary
A full recovery trace is winner redo plus non-winner undo, with committed writes taking precedence. Note: this is simplified redo and undo; ARIES detail, fuzzy checkpoints, CLRs, media recovery, and real fsync durability are deferred.