GATE 2021 CS – Question 23
Suppose a database system crashes again while recovering from a previous crash. Assume checkpointing is not done by the database either during the transactions or during recovery. Which of the following statements is/are correct?
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (A) The same undo and redo list will be used while recovering again.
Explanation
Without checkpoints, recovery restarts from the same log, so the same undo/redo lists are used. Undo/redo are idempotent, so recovery can be repeated and the database stays consistent.