~/talk

The Elephantine Upgrade

Talkat PGConf NYC 2022 · 2022-09-22..09-23· [databases]
links:none on file
slides:none on file

OVHcloud migrates 230 databases across 50+ clusters from PostgreSQL 9.6 to 14 using Ansible + AWX to orchestrate automated playbooks and a one-click promotion that moves a VIP and swaps load balancers for minimal downtime. Migration uses pg_logical logical replication for most clusters, with pg_dump/pg_restore or pg_upgrade for corner cases. Teams solve enum/oid and charset issues, reduce replication load with preloads, and work around missing Debian packages. Result is clustered automation, upgraded OS/hardware, and plans to adopt built-in logical replication.

AI-written summary · about

  1. 0:00Introduction and context
  2. 6:12Motivation for the upgrade
  3. 9:48Upgrade methods compared
  4. 15:49Logical replication setup
  5. 18:02Automation with Ansible and AWX
  6. 21:14Dynamic inventory and Bastion
  7. 22:21Day-of migration steps
  8. 27:22Optimizing the process
  9. 29:06Alternative: PG upgrade method
  10. 30:33Unexpected type changes
  11. 32:20Compatibility challenges
  12. 34:30Internal software adaptations
  13. 36:03Handling schema constraints
  14. 37:52Identifier limitations
  15. 38:57Load impact of logical replication
  16. 40:28Dynamic table pitfalls
  17. 41:57Legacy charset conversion
  18. 43:04Future plans and mindset shift
  19. 45:18Team and hiring acknowledgment
  20. 46:24Q&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.