Difficulty: Easy
Correct Answer: Where the before-images are applied to the database
Explanation:
Introduction / Context:
Recovery procedures must both roll forward committed work and roll back uncommitted work. The term “backward recovery” refers to undoing changes to restore a consistent state after failures or transaction aborts.
Given Data / Assumptions:
Concept / Approach:
Backward recovery, or rollback, uses before-images to undo the effects of incomplete or erroneous transactions. In contrast, forward recovery (rollforward) uses after-images to reapply committed changes after a crash. Combining both is part of comprehensive crash recovery, but the term “backward” specifically means applying before-images.
Step-by-Step Solution:
Identify that undo requires the old values.Map undo to application of before-images.Exclude after-images, which are used for redo.Select the option describing before-image application.
Verification / Alternative check:
ARIES and other recovery algorithms distinguish UNDO and REDO phases; UNDO corresponds to backward recovery and uses before-images or compensation log records.
Why Other Options Are Wrong:
Common Pitfalls:
Confusing backup restoration (media recovery) with logical transaction rollback; both can be involved but are distinct steps.
Final Answer:
Where the before-images are applied to the database
Discussion & Comments