Recovery: The Analysis Phase
Reconstruct state at checkpoint.
- via end_checkpoint record.
Scan log forward from checkpoint.
- End record: Remove Xact from Xact table.
- Other records: Add Xact to Xact table, set lastLSN=LSN, change Xact status on commit.
- Update record: If P not in Dirty Page Table,
- Add P to D.P.T., set its recLSN=LSN.