~/talk

Proper PostgreSQL Parameters to Prevent Poor Performance

Talkat Postgres Conference Orlando 2025 · 2025-03-18..03-21· [databases]
links:none on file
slides:none on file

PostgreSQL tuning focuses on a handful of settings that actually change behavior: set shared_buffers to about 25–40% of RAM on a dedicated box to cut reads, keep work_mem per query modest (the presenter recommends start with 4MB) because exceeding it creates temp files and caused a real system to go from fast to “everything is on fire” under hundreds of queries/sec, limit max_connections to roughly 10–20 connections per core, and set random_page_cost = 1 for SSDs; also monitor effective_cache_size (~50% RAM), vacuum to avoid wraparound, and use connection pooling.

AI-written summary · about

  1. 0:00PostgreSQL memory architecture
  2. 5:38PostgreSQL performance parameters
  3. 12:50Tuning shared buffers
  4. 14:42Max connections trade-offs
  5. 27:33Vacuum and maintenance
  6. 30:51Random page cost and indexes
  7. 33:06Connection pooling and caching
  8. 35:12Performance optimization tips
  9. 37:25Q&A: Database bottlenecks
~/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.