~/talk

A Batch of Commit Batching

Talkat Postgres Open 2012 · 2012-09-17..09-19· [databases]
slides:none on file

PostgreSQL 9.2 introduces a lock and fast‑path change that makes PostgreSQL 9.2 group commit batch hundreds of logical commits into one fsync, yielding order‑of‑magnitude gains on tiny transactions (a laptop limited to ~120 raw commits/sec reaches ~12,000 with batching). Wide‑area synchronous replication suffers ~100 ms RTT so single‑client throughput is ~10 tps but scales to ~2,000 tps with ~300 clients. 9.3 adds a leader‑side commit_delay (≈half raw sync time ~4 ms) and per‑transaction synchronous_commit knobs so different durability levels coexist and work.

AI-written summary · about

  1. 0:00Start
  2. 1:44Storage Latency
  3. 3:49Synchronous Performance
  4. 5:25Network Latency
  5. 15:21Counter Tuned INSERT scaling
  6. 22:599.2 INSERT scaling
  7. 26:40User Selectable Durability
  8. 43:082nd Quadrant Training
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.