~/talk

Where do the performance cliffs come from?

Talkat POSETTE: An Event for Postgres 2024 · 2024-06-11..06-13· [databases]
slides:none on file

Explains why Postgres produces abrupt slowdowns with concrete numbers: a hard-coded hash-table threshold at 9 values makes removing one IN element double runtime; cost-based planner chooses index/bitmap up to 1% selectivity but actual fastest switch is ~27%, so a tiny bump from 1.27% to 1.28% moves runtime from ~400 ms → ~10 s. Practical mitigations listed: raise work_mem, tune random_page_cost, use faster spill storage, or pursue adaptive execution / smooth scan research to avoid wrong-plan flips.

AI-written summary · about

  1. 0:00Introduction
  2. 1:27What is a performance cliff?
  3. 9:03Runtime decisions
  4. 14:21Multiple Paths
  5. 19:12Mitigations
  6. 24:06Robustness / Research papers
~/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.