~/talk

Performance tricks you have never seen before 2.0

Talkat PostgreSQL Conference Europe 2023 · 2023-12-12..12-15· [databases]
slides:none on file

Loading heavy language extensions costs measurable time: PL/R first call ~220 ms, PostGIS ~10 ms, and preloading via session_preload_libraries turns that latency into predictable startup cost (1,000 connections × 8 MB = ~8 GB). Changing logging reduces WAL volume: a logical run produced ~10,035 MB vs wal_level minimal producing ~82 MB in the demo. Static datasets benefit from index fillfactor 100% to shrink indexes; default join_collapse_limit=8 drives planning work, and adjusting function costs cuts execution time ~20% by forcing a cheaper-first evaluation order.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 2:20Connection process and preload libraries
  3. 7:46Session and shared preload libraries
  4. 13:01WAL size and transaction log impact
  5. 17:59Indexing and fillfactor tricks
  6. 23:02Join order and collapse limit
  7. 29:14Execution order and function cost
  8. 35:24Summary and hiring announcement
  9. 37:13Q&A session
~/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.