A global retail enterprise is preparing to migrate its on-premises transactional PostgreSQL database to Cloud SQL for PostgreSQL with minimal operational downtime. The architecture team has selected Database Migration Service (DMS) with continuous replication. Arrange the operational phases below into the correct chronological sequence required to complete the migration safely.
- 1Establish hybrid network connectivity via Cloud VPN or Interconnect and configure private connection profiles in Database Migration Service.
- 2Start the Database Migration Service job to perform the initial baseline database dump and restore into Cloud SQL.
- 3Enable continuous Change Data Capture (CDC) streaming to replicate ongoing write operations from on-premises to Cloud SQL.
- 4Set the on-premises application into read-only mode and wait for the Cloud SQL replication lag to reach zero.
- 5Promote the target Cloud SQL instance to a standalone database, update application connection strings, and resume production writes.
Cevap
The correct chronological sequence is: 1) Establish hybrid connectivity and connection profiles, 2) Start initial baseline dump and snapshot restore, 3) Enable continuous CDC streaming, 4) Set source application to read-only and allow replication lag to reach zero, 5) Promote target Cloud SQL instance and redirect application traffic.
Online database migrations require establishing infrastructure connectivity, loading a baseline data snapshot, maintaining real-time CDC synchronization, quiescing source writes to eliminate replication lag, and finally promoting the destination database for production cutover.
Adım Adım Çözüm
Anahtar Kavram
Continuous Online Database Migration and Cutover Sequencing with DMS
Tahmini Süre:2m 0s