Question: Consider the execution shown in Figure 18.3. In addition, the system crashes during recovery after writing two log records to stable storage and again after
.png)
1. What is the value of the LSN stored in the master log record?
2. What is done during Analysis?
3. What is done during Redo?
4. What is done during Undo?
5. Show the log when recovery is complete, including all non-null prevLSN and undonextLSN values in log records.
LSN LOG begin_checkpoint end checkpoint update: II update: T2 writes P2 update: T3 writes P3 10 20 30 40_ 50T2 commit 60 update: T3 writes P2 0Ti end 80 90 -T3 abort writes P1 update: Tl writes PS CRASH, RESTART
Step by Step Solution
3.45 Rating (168 Votes )
There are 3 Steps involved in it
The answer to each question is given below 1 LSN 00 is stored in the master log record as it is the ... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
960-C-S-D (2495).docx
120 KBs Word File
