GATE / CS ARCHIVE

GATE CSE 2024 SET 2 / QUESTION 19

Persistence after a transaction commits

Database Management Systems · Transactions & Concurrency Control · Full GATE CSE 2024 Set 2 paper

GATE 2024 Set 2, Q19 1 mark · MCQ
Report issue

Transactions & Concurrency Control

Question 19, GATE 2024: A DBMS has told the user a transaction succeeded. Its effect must survive a crash even if all changed data pages have not reached disk. Which ACID property is this? A durability; B atomicity; C consistency; D isolation.
Tap to enlarge
Your answer
Answer & solution

Official answer: A

Approach: Identify which guarantee applies after successful commit.

1. Derivation. Durability guarantees that the effect of an acknowledged committed transaction survives a crash, typically through durable logging and recovery even if data pages have not yet been flushed. Atomicity is all-or-nothing execution, consistency concerns integrity constraints, and isolation concerns interference. Answer A.

2. Explanation and checks. Durability need not mean that every modified database page is already stored in its final disk location. A sufficiently durable commit record and log can permit recovery to redo committed changes after restart. Atomicity instead prevents partial effects of an unsuccessful transaction; isolation controls interactions among simultaneous transactions. Consistency concerns preservation of the database constraints when transactions execute correctly. The decisive words here are successful completion and persistence after a crash.

Original paper, page 14 · Answer key