~/talk

Improving Postgres' Efficiency

Talkat PostgresOpen Silicon Valley 2017 · 2017-09-06..09-08· [databases]
slides:none on file

Describes concrete Postgres changes and measured effects: adds multi-column statistics (Postgres 10) to fix huge selectivity errors, uses index-only scans and prefetching (8.4) to cut I/O, rewrites expression engine and hash-aggregate structures to gain ~35% on TPC-H Q1, and adds JIT compilation that together with other fixes yields roughly 3x faster for that query; prototypes a cache-miss loop join to avoid millions of index probes, and flags CTE materialization as a common planner trap.

AI-written summary · about

  1. 0:00Introduction
  2. 0:55Efficiency
  3. 2:35Analytics
  4. 12:30Correlation
  5. 18:18Index only scans
  6. 22:26Prefetching
  7. 26:37FastX
  8. 28:07Query Plan
  9. 31:25Performance
  10. 34:00Native Code
  11. 37:21Performance Results
  12. 40:50Nested Loop Join
  13. 45:56Per Day Query
~/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.