GATE CS 2021 Set 1 | Question 23
Databases › Transaction Management · MSQ · 1 mark · Answer: A
- Question 23Databasesmsq1 markSuppose 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?
- A.The same undo and redo list will be used while recovering again.✓
- B.The system cannot recover any further.
- C.All the transactions that are already undone and redone will not be recovered again.
- D.The database will become inconsistent.
Answer: A
Solution
Without checkpointing, recovery restarts from the beginning of the log and recomputes the same undo and redo lists. Recovery operations are idempotent, so the system recovers correctly — only (A) is correct. - A.
More GATE PYQ on Transaction Management
All GATE CS Databases PYQ →Attempt GATE CS 2021 Set 1 in real GATE exam mode
Full paper with a timer, the GATE interface and a topic-wise analysis — free.
Create free account →