~/talk

Online Upgrade of replication clusters without downtime

Talkat PGConf.dev 2024 · 2024-05-28..05-31· [databases, devops-and-delivery]
links:none on file
slides:none on file

Explains a concrete, tested upgrade path that converts a streaming pair into a logical replication pair so one node upgrades with minimal downtime: set wal_level=logical, create publications and logical replication slots, run pg_create_subscriber on the standby to catch up and convert it (verification, catch‑up, replication setup), promote and upgrade the other node, then use PG17’s logical replication slot migration and preserved subscription relation metadata to avoid truncating tables or recreating subscriptions. Benchmarks show much faster conversion for large datasets.

AI-written summary · about

  1. 0:00Introduction
  2. 13:48Upgrading streaming replication clusters
  3. 20:05Converting streaming clusters into logical ones
  4. 31:08Upgrading logical replication clusters
  5. 36:07Summary, 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.