Top mistakes when migrating from Oracle and SQL Server to PostgreSQL
summary
Code conversion is usually only ~25% of a migration while testing and tuning take ~50%, and common wrong choices cause big surprises: tools mapping Oracle NUMBER to numeric instead of bigint yields about a 39% slower join in examples; using VARCHAR for IPs instead of PostgreSQL’s inet type saves weeks of rewrite; blind exception blocks silently consume millions of XIDs and trigger heavy autovacuum; temp-table-heavy patterns can bloat pg_attribute to terabytes. Practical fixes, index type changes and selective use of Postgres features, resolve most issues.
AI-written summary · about
chapters (13)
- 0:00Introduction and context
- 4:42Common migration project phases
- 6:05Case sensitivity differences
- 7:55Handling nulls and empty strings
- 9:40Unique constraints with nulls
- 11:23Leveraging PostgreSQL features
- 14:19Failback vs failforward strategy
- 18:13Data type selection pitfalls
- 23:06Indexing strategies
- 27:45Post-production issues
- 32:43Exception handling overhead
- 34:51Temporary tables and catalog bloat
- 39:03Summary and key takeaways
related talks
46mThe Top 10 Mistakes When Migrating Oracle Databases to PostgreSQL
06mMigration Consideration Oracle to PostgreSQL
45mSQL Server to PostgreSQL: Migration Challenges & Solutions
48mMigrating to PostgreSQL: Strategies, Sovereignty, and Success
22mAccelerating PL/pgSQL Code Conversation When Migrating to Postgres
31mSimplifying the Top Complexities While Migrating From Oracle to PostgreSQL
39mAccelerating PL/pgSQL Code Conversion
36mTales from the Postgres Front, and What We Can Learn
