Your company runs a 20-TB PostgreSQL 11 database on-prem. You must migrate it to Cloud SQL for PostgreSQL with under 30 minutes of downtime. A Cloud VPN link to Google Cloud is already in place. You need a managed solution that keeps the target instance continuously synced so teams can test before the final cutover, without building custom replication tooling. Which Google Cloud service should you use?
BigQuery Data Transfer Service to load data into BigQuery and export it to Cloud SQL
Transfer Appliance to ship database backups to Cloud Storage and import them into Cloud SQL
Datastream to capture CDC from PostgreSQL into Cloud Storage and apply it to Cloud SQL via Dataflow
Database Migration Service with continuous replication to Cloud SQL for PostgreSQL
Database Migration Service (DMS) supports homogeneous migrations from on-premises PostgreSQL to Cloud SQL for PostgreSQL. DMS sets up initial bulk load and then maintains continuous, low-latency replication until you execute the cut-over, allowing the target to stay nearly in-sync so validation queries can run with minimal impact on the source.
Transfer Appliance moves data offline and cannot maintain ongoing replication, so it cannot meet the low-downtime requirement. BigQuery Data Transfer Service only loads data into BigQuery and offers no path to Cloud SQL or change replication. Datastream captures CDC logs from sources such as Oracle or MySQL and writes to Cloud Storage, BigQuery, or Spanner; sending changes to Cloud SQL would require building additional pipelines, violating the "no custom tooling" constraint.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is Database Migration Service (DMS) and how does it work?
Open an interactive chat with Bash
What is Change Data Capture (CDC) and how does it differ from DMS replication?
Open an interactive chat with Bash
Why is Transfer Appliance not suitable for ongoing replication during migration?
Open an interactive chat with Bash
What is Database Migration Service (DMS)?
Open an interactive chat with Bash
How does continuous replication work in DMS?
Open an interactive chat with Bash
What are the advantages of DMS for minimal-downtime migration?
Open an interactive chat with Bash
GCP Professional Data Engineer
Designing data processing systems
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99 $11.99
$11.99/mo
Billed monthly, Cancel any time.
$19.99 after promotion ends
3 Month Pass
$44.99 $26.99
$8.99/mo
One time purchase of $26.99, Does not auto-renew.
$44.99 after promotion ends
Save $18!
MOST POPULAR
Annual Pass
$119.99 $71.99
$5.99/mo
One time purchase of $71.99, Does not auto-renew.
$119.99 after promotion ends
Save $48!
BEST DEAL
Lifetime Pass
$189.99 $113.99
One time purchase, Good for life.
Save $76!
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .