Question: Suppose the most recent checkpoint was executed at t c h e c k and the database system crashed at t f a i l

Suppose the most recent checkpoint was executed at tcheck and the database system
crashed at tfail. There are four transactions Ta,Tb,Tc and Td such that:
Ta was committed before tcheck;
Tb was started before tcheck and committed before system crash;
Tc was started after tcheck and committed before system crash;
Td was started after tcheck and active at the time of system crash.
The above situation is depicted in the following diagram:
(a) If the deferred update mechanism is used for database recovery, what actions are
taken by the recovery process for those four transactions?
(b) If the immediate update (Steal/No-Force) mechanism is used for database recov-
ery, what actions are taken by the recovery process for those four transactions?
 Suppose the most recent checkpoint was executed at tcheck and the

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!