~/talk

PostgreSQL is Nowhere Near Ready

Talkat PGCon 2023 · 2023-05-30..06-02· [databases, software-architecture]
links:none on file
slides:none on file

Argues four concrete fixes with runnable results: add UNION DISTINCT ON to avoid generating 3,877 alternate paths on a 114×41 grid (turning an exponential search into millisecond work), add loopback connections (under 10 lines of code) and an enable_maintenance_mode flag that stops issuing XIDs when ~1,000,000 remain (notes Postgres 15 loosened that to ~3,000,000), and change TOAST to store first-chunk tuple pointers to avoid repeated toast-index lookups (tests show multi-terabyte tables and a 10 million-row demo suffer millisecond lookups and ~7× slowdowns now). Decide by those specifics.

AI-written summary · about

  1. 0:00Introduction and background
  2. 2:10Missing syntax in PostgreSQL
  3. 11:09Loopback connections and maintenance mode
  4. 18:20TOAST performance issues
  5. 27:27Optimizing TOAST storage
  6. 36:49Security and Q&A
~/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.