~/talk

A Deep Dive into SSI: Serializable Snapshot Isolation in PostgreSQL

Talkat PGConf India 2026 · 2026-03-11..03-13· [databases, concurrency]
links:none on file
slides:none on file

SSI in PostgreSQL (implemented around 2012) promises serializable schedules on top of snapshot isolation by detecting a dangerous structure — two adjacent rw-edges — and aborting the pivot transaction, keeping most executions at SI performance with only occasional aborts. Implementation uses nonblocking SIREAD locks plus predicate locking, plus summarization and readonly optimizations; testing uses the built‑in isolation tester and Jepsen’s Elle Checker. It works in production but yields noticeable false positives and memory/lock‑promotion issues under high concurrency.

AI-written summary · about

  1. 0:00Introduction to SSI
  2. 1:53Background on Snapshot Isolation
  3. 6:32Serializable Dependency Graphs
  4. 16:03SSI Algorithm Overview
  5. 21:49PostgreSQL SSI Implementation
  6. 27:59Readonly Transaction Optimization
  7. 32:20Summary and Future Work
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.