On this page
  1. Transactions, ACID & Isolation Levels
  2. Contents
  3. ACID Guarantees
  4. Isolation Levels & Read Anomalies
  5. MVCC vs. Pessimistic Locking

Transactions, ACID & Isolation Levels

Prev: Indexing & Storage Engines | Up: design_patterns | Next: Scaling, Partitioning & Sharding
Rel: PostgreSQL MVCC, VACUUM & WAL, SQLite WAL Mode & PRAGMAs
Ref: PostgreSQL — Transaction Isolation
Tags: #public #databases #design-patterns #acid #transactions


Contents


ACID Guarantees


Isolation Levels & Read Anomalies

Isolation Level Dirty Read Non-Repeatable Read Phantom Read Write Skew
READ UNCOMMITTED Possible Possible Possible Possible
READ COMMITTED (PG default) Prevented Possible Possible Possible
REPEATABLE READ (Snapshot) Prevented Prevented Prevented (in PG) Possible
SERIALIZABLE Prevented Prevented Prevented Prevented

MVCC vs. Pessimistic Locking

Linked from

Related notes