~/talk

Tuning PostgreSQL to work even better

Talkat PostgreSQL Conference Europe 2023 · 2023-12-12..12-15· [databases]
slides:none on file

Covers the 13 practical Postgres knobs to change and how to inspect them with pg_settings and SHOW, including shared_buffers (suggest 25–40% of RAM), work_mem (examples: default 4MB, try 10MB for heavy sorts but watch concurrent usage), maintenance_work_mem (~5% RAM), max_connections (default 100), idle_in_transaction_session_timeout (e.g. 30m), checkpoint_timeout (10–30m), max_wal_size (default 1GB), wal_buffers (~32MB), effective_cache_size (~50% RAM), random_page_cost (~1.1 for SSDs), plus logging flags and diagnostics; leave autovacuum and fsync enabled.

AI-written summary · about

  1. 0:00Introduction and config levels
  2. 4:22Parameter contexts
  3. 6:36Finding parameter info
  4. 7:35Configuration files
  5. 8:24Checking current values
  6. 8:34Source of settings
  7. 8:44Connection parameters
  8. 9:42Memory and WAL tuning
  9. 30:49Summary of key parameters
~/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.