Cognitive Scaffold

Preparing your thinking workspace

arrow_back_ios_new
MENTAL MODEL · M4495

ACID Properties

ACID Properties
TechnicalHigh supportSoftware Engineering
Included
account_tree

Updated 2026-08-02

Loading revision record…

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.

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/1

Practice this model in one real situation:

Check to track your progress (stored locally)
Learning progress0%

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.

account_treeGenealogyexpand_more

RELATED MODELS