~/talk

When it all goes Wrong (with Postgres)

Talkat RailsConf 2019 · 2019-05-01..05-03· [databases]
slides:none on file

Practical, diagnostic-first talk that lists actual failure rates and fixes: about 95% application-caused incidents, ~4% autovacuum, ~1% exotic bugs; recommends turning overcommit off (and warns about containers), shows live tools like perf and pg_stat_statements, and walks CPU/memory/disk/backends failure patterns with concrete commands (iostat, iotop, htop, bwm‑ng, gdb) and remediation steps (rate‑limit, add indexes, scale or move reports to followers). Pick it if you want hands‑on triage, skip it for high‑level theory.

AI-written summary · about

  1. 0:00Start
  2. 1:05coming from
  3. 2:01same sorts of problems
  4. 2:46the problem with Postgres
  5. 4:02complicated system
  6. 4:31using the database (too much)
  7. 5:44hard to convince
  8. 8:06snowball
  9. 9:12assumptions
  10. 12:49system resources
  11. 24:08disk
  12. 25:37tools of the trade: perf
  13. 33:10flirting with disaster
~/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.