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.

T 1 T tc checkpoint T3 T4 H T5 tf system fault

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.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: