If a server suffers sudden loss of power, thousands of unwritten dirty memory pages vanish from RAM. Upon restart, the database engine initiates automated crash recovery:
- 1It locates the last verified persistent Checkpoint marker.
- 2It replays all sequential WAL/Redo log records produced from that checkpoint forward (
REDO), restoring physical pages to their exact state at the moment of failure. - 3It reverses any uncommitted transactions active at crash time (
UNDO), guaranteeing 100% ACID consistency.