~/talk

PostgreSQL Upgrades with Logical Replication & Minimal Downtime

links:none on file
slides:none on file

Walks through upgrading PostgreSQL 13→17 by creating per-table publications and a subscription, copying schema and globals with pg_dump, and using pgBackRest for separate backups; logical replication handles most row changes but large objects are excluded and sequences must be manually advanced before cutover. Requirements include replication slots, suitable replica identity or primary keys, enough parallel workers and increased timeouts for long transactions. Demo completes a live cutover in about four to five minutes and can be scripted down to two.

AI-written summary · about

  1. 0:00PostgreSQL upgrades intro
  2. 3:37Planning production upgrades
  3. 7:29Logical replication suitability
  4. 10:37Tables without primary keys
  5. 16:20Config changes before replication
  6. 22:45Publication and subscription setup
  7. 35:16Deployment plan step-by-step
  8. 50:55Target system config
  9. 1:06:35Logical replication demo
  10. 1:13:57Failover and sync
  11. 1:20:43Testing and completing upgrade
  12. 1:21:52Q&A: Logical vs dump/restore
~/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.