~/talk

PostgreSQL performance tips you have never seen before

Talkat Citus Con: An Event for Postgres 2023 · 2023-04-18..04-19· [databases]
slides:none on file

Shows concrete wins: switching from TCP localhost to a UNIX socket doubles a trivial SELECT 1 throughput (100,000→200,000 tps), packing fixed-size columns before varchars shrinks a sample table (651MB→574MB), setting defaults smartly reduces row storage (420MB→346MB), replacing a text index with a hashed functional index cuts an email index from 825MB to roughly a quarter of that, tuning FDW fetch_size drops 10M-row reads (5.2s→3.6s), and frequent VACUUM for GIN indexes turns 9ms queries into sub-millisecond responses.

AI-written summary · about

  1. 0:00Introduction
  2. 2:25Connecting to Postgres
  3. 6:25Storing data efficiently
  4. 10:48Considering indexes
  5. 14:10Composite type trickery
  6. 17:07Using Foreign Data Wrappers
  7. 19:49Full Text Indexes
~/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.