Difficulty: Easy
Correct Answer: Correct
Explanation:
Introduction / Context:Durability is the “D” in ACID. It ensures that once a transaction commits, its effects survive power loss, crashes, or restarts. This question checks that understanding directly.
Given Data / Assumptions:
Concept / Approach:On commit, the DBMS forces necessary log records to durable storage (fsync/flush). After a crash, REDO ensures committed updates reappear; UNDO removes effects of uncommitted transactions. Thus, committed changes are permanent from the application’s perspective.
Step-by-Step Solution:
Transaction commits → log forced to stable storage.Crash occurs → recovery scans logs.Recovery redoes committed work, undoing uncommitted, preserving permanence.Verification / Alternative check:Examine DBMS guarantees for synchronous commit vs. relaxed (asynchronous) modes; durability can be configured, but the contract of durability assumes synchronous commit.
Why Other Options Are Wrong:
Common Pitfalls:Confusing user-configured non-durable modes (e.g., delayed fsync) with the definition of durability itself.
Final Answer:Correct
Discussion & Comments