~/talk

Failover Slots in PostgreSQL-17:

Talkat PGConf India 2025 · 2025-03-05..03-07· [databases]
links:none on file
slides:none on file

PostgreSQL 17 adds real‑time replication of selected logical slots to the standby so subscribers can resume without full resync; configure slots with failover=true (or pass failover to pg_create_logical_replication_slot), enable standby settings like primary_slot_name and hot_standby_feedback, and run the manual sync function PG_sync_replication_slots or enable the background worker via sync_replication_slots. Sync cycles run at least every 200 ms (backing off to 30 s), synced slots are read‑only on standby and temporary slots are dropped; table copy restarts if it was mid‑copy.

AI-written summary · about

  1. 0:00Introduction
  2. 0:25Logical replication overview
  3. 9:25Problem during failover
  4. 12:53Failover slots in PG17
  5. 14:21Configuring failover slots
  6. 17:49Manual slot synchronization
  7. 21:01Automatic slot synchronization
  8. 24:13Reducing downtime in PG17
  9. 27:25Verifying failover readiness
  10. 30:57Summary and limitations
  11. 31:40Q&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.