InterviewBiz
← Back
What are ACID Properties in DBMS?
software-engineeringmedium

What are ACID Properties in DBMS?

MediumCommonMajor: software engineeringgoogle, amazon, microsoft

Concept

Normalization levels ACID ensures reliable transactions in relational databases: Atomicity, Consistency, Isolation, Durability.

Key Points

PropertyWhat it GuaranteesQuick Example
AtomicityAll or nothingDebit + credit both succeed or both roll back
ConsistencyConstraints preservedForeign keys, CHECKs remain valid after commit
IsolationConcurrent transactions don’t interfere logicallyReads don’t see partial/in-flight writes
DurabilityCommitted data survives crashesWAL/redo logs ensure persistence

Interview Tips

  • Map isolation to anomalies (dirty read, non-repeatable read, phantom).
  • Mention isolation levels (Read Committed, Repeatable Read, Serializable).
  • Tie to WAL, 2PC, or distributed edge cases.

Reference

Source: InterviewBit DBMS & CS interview topics.