The following figure presents five transactions (T 1 until T 5 ) that are executed more or
Question:
The following figure presents five transactions (T1 until T5) that are executed more or less simultaneously. Suppose a checkpoint was registered on the logfile at time tc, marking the last time when pending updates in the database buffer were persisted into the physical database files. Later, at time tf, a system fault occurred, resulting in loss of the database buffer.
What recovery operations are required?
a. T1: nothing; T2: UNDO; T3: REDO; T4: REDO; T5: nothing.
b. T1: nothing; T2: REDO; T3: UNDO; T4: REDO; T5: nothing.
c. T1: REDO; T2: UNDO; T3: REDO; T4: nothing; T5: nothing.
d. T1: nothing; T2: REDO; T3: REDO; T4: REDO; T5: nothing.
Step by Step Answer:
Principles Of Database Management The Practical Guide To Storing Managing And Analyzing Big And Small Data
ISBN: 9781107186125
1st Edition
Authors: Wilfried Lemahieu, Seppe Vanden Broucke, Bart Baesens