Database Administration · Master in Informatics Engineering

Crash Recovery Workbench

Read / scanned Written to disk / repaired Wrong after a crash / not allowed Checkpoint In focus Undo entry (old value) Redo entry (new value) COMMIT ABORT Log buffer, not yet on disk Dirty: memory differs from disk ✓ committed · … active · ✗ aborted or died

Committed state (what the disk must hold after recovery):

Transactions:

Log in textbook notation:

Steps of the whole run · a new action continues from the step on screen

    Same actions under each method

    MethodActions not allowedBlock writesLog forcesLog entriesWrong blocks after crashLog entries read by recoveryUndone / redoneWrong after recovery

    Replays every recorded action under each method. Block writes and log forces count normal processing only, before the crash.