~/talk

Performance Improvements of Partitioning: Past and Future

Talkat PGConf.dev 2024 · 2024-05-28..05-31· [databases, web-performance]
links:none on file
slides:none on file

Patch changes equivalence handling so equivalence classes keep only parent members and introduce child members on demand, using bitmap-set indexes to filter children quickly; this reduces complexity to O(n) from O(n^2) for planning joins over n partitions. Profiling with perf and printf-debug shows planning drops from minutes to seconds for 1,024 partitions (6.7×) and achieves a 10.7× average speedup on the Join Order Benchmark (max 17.5×, 23.5× for six-table joins). Patch is under discussion on pgsql-hackers for PostgreSQL 18.

AI-written summary · about

  1. 0:00Introduction to partitioning
  2. 7:53Deep dive into the planner
  3. 16:54Hacking the planner solution
  4. 24:02Experiments and results
  5. 29:27Tips for PostgreSQL development
  6. 37:39Open issues and discussion
  7. 39:43Conclusion and future work
~/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.