Search across all documentation pages
10 pages in this section.
The mental model behind PostgreSQL's multi-version concurrency control: how readers and writers avoid blocking each other, why dead rows pile up, and how isolation levels shape what a transaction is allowed to see.
Learn PostgreSQL transaction basics with 9 examples. Understand BEGIN, COMMIT, ROLLBACK, savepoints, and how to handle constraint violations.
Understand PostgreSQL isolation levels: read committed, repeatable read, and serializable. Learn when to use each, common pitfalls, and best practices for OLTP workloads.
Understand PostgreSQL MVCC visibility, xmin/xmax, and tuple versions. Learn to optimize SQL for OLTP workloads and avoid common pitfalls.
Learn to use PostgreSQL's row-level locks like FOR UPDATE and SKIP LOCKED for robust queue patterns and OLTP workloads. Avoid common pitfalls.
Understand PostgreSQL deadlocks, including detection, deadlock_timeout configuration, and retry strategies for robust OLTP applications.
Learn PostgreSQL concurrency best practices to prevent lock storms, bloat, and replication lag. Optimize transactions, manage locks, and tune housekeeping.
A single-page roundup of every highlight bullet from the 9 pages in the Transactions & MVCC section, grouped by source page so you can scan all 47 takeaways without opening each article individually.