Exercises · Q2
Q.State the four ACID properties of a transaction and write one line on each.
ChseodishaTextbookSubjectiveImportance★★★★★est
13% · 2/16 Questions
✓ Free question
The reliability of database transactions is summed up by four properties, remembered by the letters ACID:
- Atomicity — a transaction is 'all-or-nothing': every statement in it takes effect, or none does. ROLLBACK provides this.
- Consistency — a transaction takes the database from one valid state to another valid state, never leaving it half-changed or breaking its rules (constraints).
- Isolation — when several transactions run at the same time, each behaves as if it were running alone; they do not interfere with one another's intermediate changes.
- Durability — once a transaction is committed, its changes are permanent and survive even a power failure or system crash. COMMIT provides this.
✓Final answer
Atomicity — all statements of a transaction happen or none do; Consistency — the database goes from one valid state to another; Isolation — concurrent transactions do not interfere with each other; Durability — once committed, changes are permanent even after a failure.
Unlock everything free for 14 days
- Full step-by-step solutions
- Concept-first explanations
- Methods, shortcuts & mistakes
- PYQ mapping + timed mock tests
Full access for 14 days. No credit card required.