The Migration You Don't Have to Redo
A production-grade guide to Oracle → PostgreSQL migration — from source discovery to cutover and beyond. 20 chapters, 3 appendices, built from real incidents.
Contents
Understanding the Source
Why this is not a schema translation problem. How to read a source system before touching it. The empty-string trap. Data type precision and semantic loss.
Schema & Object Migration
Identifier case normalization and the quoted-identifier trap. Constraints, indexes, DDL ordering. Sequences and identity drift. PL/SQL to PL/pgSQL.
Data Movement
Full load design: SCN anchoring, chunked cursors, LOB streaming, restart/checkpoint. CDC: LogMiner vs Debezium, lag tracking. Staging as an audit ledger. Dependency resolution.
Safety & Performance
Chunk atomicity, savepoints, compensating writes, rollback design. COPY protocol, WAL tuning, parallel workers, backpressure.
Validation
Reconciliation modes: count, hash, sample, aggregate. Reading and classifying discrepancies. Reconciliation as a feedback loop that improves the product.
Operations & Cutover
Observability, dashboard, runbook integration. Go/no-go procedure, the 20-minute switch, rollback decision tree. Building the migration team.
All Chapters
- PrefacePreface
- Chapter 1Why Transform Pulsride Exists
- Chapter 2Reading the Source System
- Chapter 3The Empty String Trap
- Chapter 4Data Type Mapping That Breaks in Production
- Chapter 5Names, Quoting, and Case Sensitivity
- Chapter 6Constraints, Indexes, and DDL Migration
- Chapter 7Sequences, Identity, and Key Generation
- Chapter 8PL/SQL to PL/pgSQL
- Chapter 9Full Load Before CDC
- Chapter 10CDC Design for Migration
- Chapter 11Staging as Product Memory
- Chapter 12Dependency Resolution at Runtime
- Chapter 13Transactional Safety and Rollback
- Chapter 14Performance and Parallelism
- Chapter 15Reconciliation-Driven Validation
- Chapter 16Making Sense of Reconciliation Outputs
- Chapter 17How Reconciliation Improves the Product
- Chapter 18Observability and Operator Workflow
- Chapter 19Cutover Readiness and the Final Switch
- Chapter 20Building the Product Team
- Appendix AEdge-Case Playbook
- Appendix BPractical Labs
- Appendix COperational Checklists