~/talk

The 10 Deadly PostgreSQL Sins

Talkat Percona Community Live 2022 · 2022-06-21..06-23· [databases]
linkedin:myonk
slides:none on file

Ten recurring production mistakes and concrete fixes: using the wrong tool (eg pg_repack can block busy DDL), confusing pooling vs load‑balancing (use pgbouncer + HAProxy or pgpool2 depending on needs), and leaving defaults untuned (shared_buffers, work_mem, WAL/checkpoint sizes). Security lapses are common — ~1 in 10 incidents — and PostgreSQL 14 makes scram‑sha‑256 the default. Vacuum misconfigurations cause txid wraparound; connections cost tens of MB each; use Patroni for HA and pgBackRest with at least weekly fulls and 7‑day retention.

AI-written summary · about

  1. 0:00Start
  2. 10:53Proper Use of Vacuum
  3. 15:12Poor Connection Management
  4. 17:14DEFAULT SETTINGS
  5. 22:46Extension Foo Because you can should
  6. 28:30HA & Backups
  7. 33:49the DB for the Workload
  8. 35:31the System for the Workload
~/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.