Migrating a database over 10TB from DB2 to PostgreSQL with zero downtime
summary
Migrating a >10TB database from IBM DB2 to PostgreSQL while keeping the database online by tracking changes with triggers, transforming data (including moving BLOBs into Ceph), and respecting table dependencies discovered by a modified SchemaSpy. The migration uses Spring Batch for the bulk move, partitions the workload either by equal id-range segments or by ranges with equal row counts, and aims to complete within acceptable time with minimal downtime.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 3:14Table dependency analysis
- 6:58Migration tools
- 16:03Data migration schema
- 20:24Change tracking
- 27:38Data partitioning
- 32:23Summary
- 38:10Q&A
related talks
26mMastering Large-Scale PostgreSQL Migration
59mLarge Scale MySQL Migration to PostgreSQL
29mTales from the Field - Oracle to PostgreSQL migrations
48mMigrating to PostgreSQL: Strategies, Sovereignty, and Success
31mModernizing a megascale database
25mMigrating VLDBs from Oracle to Azure Database for PostgreSQL
51mOracle to PostgreSQL Migration with Near Zero Downtime
34mPartitioning and Data Migrations Using PostgreSQL as an Example
