Practice mode DBMS and SQL

A buffer manager uses the STEAL and NO-FORCE policies. Which recovery actions must the log support?

Correct answer D. Both undo and redo

Explanation

STEAL lets uncommitted changes be written to disk, so after a crash those changes must be undone. NO-FORCE lets a transaction commit before its pages are written, so committed changes may be missing and must be redone. Supporting both gives the best runtime performance at the price of more complex recovery, which is what ARIES-style systems do. NO-STEAL with FORCE would need neither.

Report a problem

Answer checked How we write and check questions

Tip: press A, B, C or D to answer, and N for the next question.

Advertisement

Have a question about this answer?

Your email address will not be published. Required fields are marked *

Links and website addresses are not allowed in comments.