~/talk

PostgreSQL Don'ts and Dos

Talkat foss-north 2026 · 2026-04-27..04-28· [databases]
slides:none on file

If backups take 48 hours with pg_dump expect a 5–6 day restore; switch to binary backups like pg_basebackup and a PITR-capable tool such as pg_backrest (parallel, retention, faster restores). Tune work_mem before shared_buffers, avoid thousands of DB connections—use a pool and size for worst-case (rolling upgrades add connections). Export metrics to Prometheus/Grafana and enable pg_stat_statements. Use SCRAM (SCRAM-SHA-256), prefer UUIDv7 or int keys, avoid OFFSET pagination, use RETURNING, range types, filter/window aggregates.

AI-written summary · about

  1. 0:00Introduction
  2. 3:30Backups and common mistakes
  3. 12:22Tuning PostgreSQL parameters
  4. 17:37Connection pooler best practices
  5. 20:43Monitoring and baselines
  6. 32:16Security password and encryption
  7. 36:44Developer data types and UUIDs
  8. 41:19Integer vs bigint
  9. 43:52Enums and range types
  10. 48:04Pagination and ORM usage
  11. 51:10Advanced SQL features
  12. 56:31Summary
  13. 57:37Q&A on backups and pgBackRest
~/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.