Which ACID property guarantees that changes are preserved across crashes?

Prepare for the GATE General Aptitude and CS Test. Enhance your skills with multiple choice questions and detailed explanations. Elevate your readiness and boost your confidence for the exam!

Multiple Choice

Which ACID property guarantees that changes are preserved across crashes?

Explanation:
Durability is the property that guarantees committed changes survive crashes or power failures. When a transaction commits, its effects are written to non-volatile storage (often with a commit log or write-ahead log) and flushed to disk. This means that even if the system crashes immediately after the commit, recovery can use the durable records to reconstruct the committed state, so the changes are not lost. This is different from atomicity (all-or-nothing behavior within the transaction), consistency (data respects constraints), and isolation (transactions don’t interfere with each other). For example, after a money transfer commits, the updated balances remain correct after a restart because those changes were durably recorded.

Durability is the property that guarantees committed changes survive crashes or power failures. When a transaction commits, its effects are written to non-volatile storage (often with a commit log or write-ahead log) and flushed to disk. This means that even if the system crashes immediately after the commit, recovery can use the durable records to reconstruct the committed state, so the changes are not lost. This is different from atomicity (all-or-nothing behavior within the transaction), consistency (data respects constraints), and isolation (transactions don’t interfere with each other). For example, after a money transfer commits, the updated balances remain correct after a restart because those changes were durably recorded.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy