~/talk

Scaling Postgres

Talkat PostgresOpen 2013 · 2013-09-16..09-18· [databases]
links:none on file
slides:none on file

Recommendations and concrete tooling for scaling Postgres: prefer lots of RAM (64 GB minimum, 128–512 GB or more) and RAID10 SSDs, tune shared_buffers and effective_cache_size and set checkpoint_completion_target≈0.9, run PG Badger hourly reports and alert on slow queries, front with pgbouncer connection pooling, use streaming plus WAL shipping hybrid replication across a 3‑node master + two replicas to allow read reporting and catch‑up, prefer trigger‑based partitioning with pg_partman, and consider PG_FDW or Bucardo/Slony for selective or multi‑master replication.

AI-written summary · about

  1. 0:00Scaling Postgres introduction
  2. 1:13Scalability for databases
  3. 3:00Database scalability challenges
  4. 4:46Vertical vs horizontal scaling
  5. 8:18Horizontal scaling pros and cons
  6. 10:08Postgres hardware specs
  7. 11:54Tuning PostgreSQL config
  8. 15:13Importance of logging
  9. 19:33PG Badger log analysis
  10. 21:19Monitoring performance trends
  11. 22:43Slow queries with EXPLAIN
  12. 23:48Tracking function performance
  13. 25:13When to partition tables
  14. 27:23Partitioning strategies
  15. 28:47PG Partman for partitions
  16. 30:55Load with connection pooling
  17. 31:18PG Bouncer connection overhead
  18. 33:45Caching layers for Postgres
  19. 35:11Postgres replication options
  20. 37:23OmniPITR replication management
  21. 39:53Cross-version FDW queries
  22. 40:29Third-party replication tools
  23. 42:20Database sharding intro
  24. 45:11Application-aware sharding
  25. 46:35Instagram schema sharding
  26. 47:46Postgres XC sharding
  27. 49:28Sharding challenges
  28. 50:10Scaling Postgres obstacles
  29. 52:16Team scaling collaboration
  30. 53:18Avoiding serialization
  31. 54:42Right tools for problems
  32. 55:06Further reading
  33. 55:50Q&A
~/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.