Recovery:
1.Failure types:
transaction failure, system failure, disk failure.
2.Log-based recovery
- log record structures
- Deferred database modification: redo logs
1) .Log record structures
2).Write rules:
3).How to recovery
3.Immediate database modification: undo logs
- Log record structures
- Write rules:
- How to recovery
4.Check-points: why?how?
- Nonquiescent checkpointing
- How checkpoint works?
5.Shadow paging recovery
- Current page table/shadow page table
- What to do when commit a transaction?
- How to recovery?
- Compare with log-based recovery