fuzzy-checkpoint · shipping

Fuzzy checkpoint

A fuzzy checkpoint records recovery information while transaction processing continues, rather than freezing all activity into one instantaneous database image.

In ARIES, the checkpoint records transaction and dirty-page information without forcing dirty pages to storage. Recovery may need older log records. This is neither a backup nor permission to delete every pre-checkpoint log record. Checkpoint metadata and compensation records solve different problems, the former guides restart, while CLRs preserve rollback progress. [1]

A begin record opens the checkpoint, and an end record later carries the transaction table, the dirty-pages table and mapping data for open objects. Only after the end record reaches stable storage is the begin record's log address stored in a master record at a known location. A dirty-pages table of 1000 rows may be read 100 entries per latch acquisition, because the redo point also accounts for log records written since the checkpoint began. [1]

A textbook variant flushes only cache slots that have stayed dirty since before the previous checkpoint, so every committed update older than the penultimate checkpoint is already in the stable database. The maximum time a slot may stay dirty trades checkpoint work during normal operation against restart work after a failure. [3]

Relations

related
Database checkpoint, Write-ahead log, Compensation log record, Page LSN, Full-page write

Advantages

  • Checkpoints can be taken while transactions, including updates, keep running. [1]

Limitations

  • A failure after the begin record is stable but before the end record is stable leaves an incomplete checkpoint, and the master record still names the previous one. [1]

Citations

  1. Mohan, Haderle, Lindsay, Pirahesh and Schwarz. ARIES. ACM TODS 17(1), 1992, pp. 121-122, section 5.4. (accessed 2026-10-23)
  2. Bernstein, Hadzilacos and Goodman. Concurrency Control and Recovery in Database Systems, 1987, chapter 6, Centralized Recovery. (accessed 2026-10-23)

Further reading

  1. WAL, checkpoints and torn pages: three different recovery guarantees (accessed 2026-10-12)
Sources & caveats
  • aries re-read 2026-10-23 for the begin and end records, the master record and the incremental dirty-page scan.
  • bhg-ch6 read 2026-10-23 for the penultimate-checkpoint guarantee and the dirty-time trade-off.
  • A companion analysis on checkpoints and torn pages is listed but not used in prose.

JSON: /data/terms/fuzzy-checkpoint.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. Fuzzy checkpoint. Hesela. 2026-10-23. https://hesela.dev/terms/fuzzy-checkpoint/