~/talk

Multi-threaded PostgreSQL?

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

A pgsql-hackers thread launched in June proposing a full switch from a 1990s multiprocess model to threads; no production patch exists yet, only a preliminary refactor and a commitfest patch that annotates globals. Key steps: convert roughly 2,000 global variables to session-local or thread-local, build a static-analysis tool, replace dynamic shared memory patterns, add an extension control flag to mark thread safety, and provide a GUC mode to run either threads or processes during a short transition.

AI-written summary · about

  1. 0:00Motivation for threading
  2. 3:26Architectural comparison
  3. 7:18Benefits of multithreading
  4. 9:21Addressing design objections
  5. 14:00Managing risks and trade-offs
  6. 18:01Precedents in other projects
  7. 22:12Implementation requirements
  8. 30:11Transition and future vision
  9. 36:56Action plan 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.