~/talk

Postgres at any scale

Talkat PyCon Canada 2017 · 2017-11-18..11-21· [databases]
slides:none on file

Practical checklist for running Postgres: use native types (prefer JSONB over plain JSON), add constraints and validate at the DB, learn psql and save queries, and test backups regularly — logical pg_dump is OK early but switch to physical backups (wal‑e/wal‑g or barman) at larger sizes. Enable pg_stat_statements to find hot queries, aim for a 99% cache hit ratio and ~95% index hit rate on tables >10k rows, create indexes concurrently, and use PG bouncer or app pooling before scaling.

AI-written summary · about

  1. 0:00Introduction and audience
  2. 1:07Starting small with Postgres
  3. 3:13Leveraging data types and constraints
  4. 5:43Mastering psql and backups
  5. 7:27Medium-scale configuration
  6. 8:33Cache hit ratio and memory
  7. 9:18Index hit rate and query optimization
  8. 10:22Understanding query plans
  9. 12:49Monitoring with pg_stat_statements
  10. 14:35Postgres index types explained
  11. 17:50Index tips and trade-offs
  12. 19:54Safe migrations and null handling
  13. 20:59Scaling to large datasets
  14. 21:40Connection pooling necessity
  15. 22:42Read replicas and replication lag
  16. 24:29Sharding strategies
  17. 26:40Backup types and scaling
  18. 27:46Recap and best practices
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.