A baseline plus the changes
How an initial snapshot and subsequent row changes are coordinated to keep a migration target synchronized until cutover. · associate
A database migration must move existing rows without losing writes that happen during the move. The full load creates the initial baseline on the target. Change Data Capture (CDC) captures inserts, updates, and deletes so the target can catch up while applications continue writing to the source.
The baseline and the change stream must have a coordinated source position: a point in the source's change history that connects copying with replication. Starting capture only after the copy finishes would leave a gap for writes made during the copy.
A snapshot alone becomes stale as soon as the source changes. CDC alone normally does not supply all the rows that already existed before capture began. Together, full load and ongoing replication support a migration with a shorter write interruption.
| Responsibility | Full load | Ongoing CDC |
|---|---|---|
| Data moved | Existing rows | Captured row changes |
| Purpose | Establish baseline | Keep target current |
| Completion | Initial copy finishes | Continues until stopped |
AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.