Mastering Large-Scale PostgreSQL Migration
summary
A company migrates PostGIS from 2.4 to 3.2 and PostgreSQL from 10 to 14 across many large clusters (up to 6 TB each) holding high-volume vehicle geodata. The approach uses pg_upgrade --link with a kept standby replica to avoid long single-node downtime, runs tests in Docker images built from CentOS7 using real backups, and automates extension upgrades and deprecated-function renames to achieve ~20-minute cutovers for large clusters.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 3:20Project context and stakes
- 7:13Global migration strategy
- 10:04Testing with Docker and prep
- 14:21Migration steps in detail
- 18:35PostGIS problems and fixes
- 21:08PostgreSQL 10 to 14 migration
- 23:19Conclusion and results
- 24:05Q&A
related talks
46mAn ultimate guide to upgrading your PostgreSQL installation
32mPostgreSQL The Hard Way
59mLarge Scale MySQL Migration to PostgreSQL
48mMigrating to PostgreSQL: Strategies, Sovereignty, and Success
50mAn ultimate guide to upgrading your PostgreSQL installation
42mMigrating a database over 10TB from DB2 to PostgreSQL with zero downtime
32mPostgreSQL Major Upgrades: Swapping the Elephant Without Breaking the Room
34mPartitioning and Data Migrations Using PostgreSQL as an Example
