Recovery System: Practice Exercises
Recovery System: Practice Exercises
19
Recovery System
Practice Exercises
19.1 Explain why log records for transactions on the undo-list must be processed in
reverse order, whereas redo is performed in a forward direction.
19.2 Explain the purpose of the checkpoint mechanism. How often should check-
points be performed? How does the frequency of checkpoints affect:
a. Is the old value part of an update log record required any more? Why or
why not?
b. If old values are not stored in update log records, transaction undo is
clearly not feasible. How would the redo phase of recovery have to be
modified as a result?
65
66 Chapter 19 Recovery System