CS FundamentalsModerateGATE CS · Product placement

A buffer manager uses STEAL (uncommitted pages may be written to disk) and NO-FORCE (committed pages need not be written at commit). What must the recovery scheme support?

  1. A. Both UNDO and REDO
  2. B. Neither UNDO nor REDO
  3. C. Only REDO
  4. D. Only UNDO

Correct answer: A. Both UNDO and REDO

STEAL means uncommitted changes may be on disk, so they must be undone; NO-FORCE means committed changes may be missing from disk, so they must be redone.

More DBMS and SQL questions

Exams that ask this topic