Question: The description in Section 18.6.1 of the Analysis phase made the simplifying assumption that no log records appeared between the begin checkpoint and end checkpoint
The description in Section 18.6.1 of the Analysis phase made the simplifying assumption that no log records appeared between the begin checkpoint and end checkpoint records for the most recent complete checkpoint. The following questions explore how such records should be handled.
1. Explain why log records could be written between the begin checkpoint and end checkpoint records.
2. Describe how the Analysis phase could be modified to handle such records.
3. Consider the execution shown in Figure 18.4. Show the contents of the end checkpoint record.
4. Illustrate your modified Analysis phase on the execution shown in Figure 18.4.
.png)
LSN LOG begin-checkpoint 10 update : TI writes Pl 20T commit update: T2 writes P2 T end T2 abort update: T3 writes P3 40 50- 60 end checlkpoint 80 T3 commit CRASH, RESTART
Step by Step Solution
3.44 Rating (163 Votes )
There are 3 Steps involved in it
The answer to each question is given below 1 In ARIES first a begin checkpoint record is written and ... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
960-C-S-D (2497).docx
120 KBs Word File
