Question: Using the following execution shown below, explain what is done in each of the ARIES recovery algorithm phases: LSN LOG 00 begin_checkpoint 10 end_checkpoint 20
Using the following execution shown below, explain what is done in each of the ARIES recovery algorithm phases:
| LSN | LOG | |
|---|---|---|
| 00 | begin_checkpoint | |
| 10 | end_checkpoint | |
| 20 | update: T1 writes P1 | |
| 30 | update: T2 writes P2 | |
| 40 | update: T3 writes P3 | |
| 50 | T2 commit | |
| 60 | update: T3 writes P2 | |
| 70 | T2 end | |
| 80 | update: T1 writes P5 | |
| 90 | T3 abort | |
| CRASH, RESTART |
In addition to the execution shown here, the system crashes during recovery after writing two log records to stable storage and again after writing another two log records.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
