|
Checkpoints - Reduce Recovery Overhead
|
- Output all log records currently residing in volatile storage onto stable storage.
- Output all modified data residing in volatile storage to stable storage.
- Output log record <checkpoint> onto stable storage.
- Recovery routine examines log to determine the most recent transaction Ti that started executing before the most recent checkpoint took place.
- Search log backward for first <checkpoint> record.
- Find subsequent <Ti start> record.
- redo and undo operations need to be applied to only transaction Ti and all transactions Tj that started executing after transaction Ti.
|