CS FundamentalsModerateGATE CS

A buffer manager uses NO-STEAL (pages with uncommitted changes are never written to disk) and FORCE (all pages a transaction changed are written at commit). What must the recovery manager do after a crash?

  1. A. Only undo the writes of uncommitted transactions
  2. B. Neither undo nor redo for transaction effects
  3. C. Only redo the writes of committed transactions
  4. D. Both undo and redo, exactly as ARIES does

Correct answer: B. Neither undo nor redo for transaction effects

NO-STEAL means no uncommitted change ever reaches disk, so nothing needs undoing; FORCE means every committed change is already on disk, so nothing needs redoing. The price is poor buffer performance, which is why real systems use STEAL/NO-FORCE.

More DBMS and SQL questions

Exams that ask this topic