Checkpointing
Motivation
- The log keeps growing.
- Recovery has to scan, potentially, the whole thing.
- But probably only the most recent log records are going to be significant.
Checkpoints
- A checkpoint limits how far back we need to go in the log.
- Older records can be discarded.
- New log record: checkpoint().
|