CS FundamentalsVery hardGATE CS · PSU (ISRO/BARC)
Which statement about ARIES recovery is correct?
- A. Redo applies only the updates of committed transactions
- B. The undo pass runs forward from the last checkpoint
- C. The redo pass repeats history, redoing updates of loser transactions too, before the undo pass rolls the losers back
- D. Compensation log records (CLRs) are undone again if a crash happens during undo
Correct answer: C. The redo pass repeats history, redoing updates of loser transactions too, before the undo pass rolls the losers back
ARIES first analyses, then redoes ALL logged updates from the redo point (repeating history), then undoes losers backwards. CLRs are redo-only, so work is never undone twice.
More DBMS and SQL questions
- Table Staff(id, name, dept, pay, boss) rows: (1, 'Anu', 'Ops', 40, NULL), (2, 'Bala', 'Ops', 55, 1), (3, 'Chitra', 'Tech', 70, 1), (4…
- R(A, B, C, D, E, F) has functional dependencies F → ABCD, BD → A. What is the highest normal form R satisfies?
- Table Staff(id, name, dept, pay, boss) rows: (1, 'Anu', 'Ops', 40, NULL), (2, 'Bala', 'Ops', 55, 1), (3, 'Chitra', 'Tech', 70, 1), (4…
- Table Staff(id, name, dept, pay, boss) rows: (1, 'Anu', 'Ops', 40, NULL), (2, 'Bala', 'Ops', 55, 1), (3, 'Chitra', 'Tech', 70, 1), (4…
- TS(T1) = 20, TS(T2) = 5, TS(T3) = 25; all read/write timestamps start at 0. Under basic timestamp ordering with Thomas's write rule, which…
- R(A, B, C, D, E, F) has functional dependencies D → BF, AE → B, F → CD, DE → C. How many prime attributes does R have?