~/talk

Query Planning Gone Wrong

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

Surveying 168 reports from pgsql-performance yields concrete failure modes: 168 reports are classified into settings (23), inherently slow requests (23), architectural limitations, and bugs (14), but the biggest root cause is planner estimation errors dominate split into 28 conceptual mismatches and 55 row‑count/cost misestimates. Frequent, reproducible problems include correlated columns and order by with limit misestimation, generic/prepared plan pitfalls, work_mem/statistics_target tuning, and toasting/cost misaccounting; many cases are fixed by specific rewrites or PG versions (9.1/9.2) while others need deep engine changes.

AI-written summary · about

  1. 0:00Introduction
  2. 1:05Why this talk
  3. 3:07What I did
  4. 5:17The data
  5. 8:29Settings
  6. 12:33Slow
  7. 17:01Planning Errors
  8. 18:38Categories
  9. 21:07Grand Prize Winners
  10. 34:30Cross Table Correlation
  11. 38:00Cost Estimation Errors
  12. 42:03Conceptual Errors
~/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.