Summary, Cont.
![](../_themes/blueprnt/blubul1a.gif) | Checkpointing: A quick way to limit the amount of log to scan on recovery.
|
![](../_themes/blueprnt/blubul1a.gif) | Recovery works in 3 phases:
![](../_themes/blueprnt/blubul2a.gif) | Analysis: Forward from checkpoint.
![](../_themes/blueprnt/blubul2a.gif) | Redo: Forward from oldest recLSN.
![](../_themes/blueprnt/blubul2a.gif) | Undo: Backward from end to first LSN of oldest Xact alive at crash.
| | | |
![](../_themes/blueprnt/blubul1a.gif) | Upon Undo, write CLRs.
|
![](../_themes/blueprnt/blubul1a.gif) | Redo repeats history: Simplifies the logic!
|
|