~/talk

Partitioning your Postgres tables for 20x better performance

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

Shows converting inheritance-based partitions to native partitioning, adding check constraints and denormalising ledger joins so everything partitions by transaction ID, which lets the planner prune at execution time instead of touching dozens of child tables. Fixes prepared-statement planning inefficiencies and avoids lock-manager blowups from hundreds of fast-path locks. Targets 100–200GB partitions to stay well under the 32TB table limit. Under load some queries become 50x faster (occasional 70x) after the redesign.

AI-written summary · about

  1. 0:00Intro
  2. 0:36Partitioning and LEGO
  3. 2:55Introduction and Agenda
  4. 7:39Single table partitioning
  5. 14:21Design flaws
  6. 21:08Target setup
~/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.