ACID Properties
Updated 2026-08-02
Summary
Four properties that make database transactions reliable: atomicity, consistency, isolation, and durability, together defining the hard standard for dependable commitments.
Definition
ACID names four guarantees that database transactions must provide: atomicity, so a transaction completes fully or not at all; consistency, so constraints hold before and after; isolation, so concurrent transactions do not interfere; and durability, so committed results survive failure. The framework was formalized in the 1980s around relational transaction processing and remains the benchmark against which weaker guarantees such as eventual consistency are judged.
Introduction
How to use
- Set a hard standard: ask whether a promise can be partially fulfilled, which would break atomicity - Probe for wavering: ask whether the commitment can be revoked midway, which would break durability - Compare soft promises: label anything weaker as eventual consistency rather than a guarantee
Mechanism
The four properties together make a group of operations behave as one indivisible step. Atomicity rolls back partial work, consistency preserves declared constraints, isolation prevents concurrent transactions from observing each other's intermediate state, and durability writes committed results to stable storage. Without all four, failures leave data in states no rule permits.
Practice
In progress 0/1Practice this model in one real situation:
Cases
- A bank transfer must debit one account and credit another in the same transaction, so a crash between the two steps rolls both back.
- Distributed systems that adopt eventual consistency relax isolation and durability, which is why reconciliation logic becomes necessary.
Common pitfalls
- Treating eventual consistency as if it satisfied ACID, which hides the windows where data is inconsistent.
- Ignoring isolation levels and accepting dirty reads in exchange for speed without measuring the cost.
- Weakening guarantees for performance without recording which invariant was traded away or who accepted it.
Sources
Source support: Explicit
References currently contain only Wikipedia links; primary sources still need review.
- en.wikipedia.orghttps://en.wikipedia.org/wiki/ACIDverified
account_treeGenealogyexpand_more
PRIVATE NOTES · Only visible to you
SAVED Q&A
ENTRY Q&A · Private saving available
Ask with a clear boundary
thinkingmodels answers from published entry context only.
Your question is sent to thinkingmodels. The answer uses public entry context only.
RELATED MODELS