~/talk

How to Tame A Mastodon: Lessons for PostgreSQL at Scale

Talkat PGConf NYC 2022 · 2022-09-22..09-23· [databases, devops-and-delivery]
links:none on file
slides:none on file

Describes running a 25TB OLTP PostgreSQL cluster with 15 replicas, 150GB/hr WAL and ~230M transactions/hr and the concrete fixes used: switch to PGBackRest async archiving to keep replicas from falling behind, scale out pgbouncer instances to remove the pooling bottleneck, convert serials to bigints during a logical migration, remove nested savepoints, tune autovacuum thresholds and maintenance_workers, prefer create index concurrently, use monthly partitioning for large time-series tables and reorder columns to cut row size.

AI-written summary · about

  1. 0:00Introduction and scope
  2. 3:54Managing big table challenges
  3. 20:23High volume transaction issues
  4. 25:15Managing read replicas
  5. 31:23Analytics and summary
  6. 34:07Q&A session
~/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.