Why it matters
Every database claims some level of ACID. Understanding the details lets you evaluate what a database really provides and whether it fits your needs.
Advertisement
The architecture
Atomicity: transaction either fully commits or fully aborts. Achieved via undo logs or MVCC snapshots.
Consistency: transaction preserves invariants (foreign keys, checks). Application + DB together.
Advertisement
How it works end to end
Isolation: concurrent transactions behave as if serial. Perfect isolation is serializable; databases offer weaker levels for performance.
Durability: committed data survives crashes. Write-ahead log (WAL) flushed to durable storage before commit ack.
Trade-offs: strict ACID limits throughput. Distributed databases trade some ACID for availability.