PROFESSIONAL-CLOUD-DATABASE-ENGINEER · Question #10
Your company is migrating the existing infrastructure for a highly transactional application to Google Cloud. You have several databases in a MySQL database instance and need to decide how to…
The correct answer is B. 1. Create migration job using Database Migration Service. Database Migration Service (DMS) is Google's purpose-built tool for migrating databases to Cloud SQL with minimal downtime. It uses Change Data Capture (CDC) to continuously replicate changes from the source database to Cloud SQL in real time. This means the cutover window is…
Question
Your company is migrating the existing infrastructure for a highly transactional application to Google Cloud. You have several databases in a MySQL database instance and need to decide how to transfer the data to Cloud SQL. You need to minimize the downtime for the migration of your 500 GB instance. What should you do?
Options
- A
- Create a Cloud SQL for MySQL instance for your databases, and configure Datastream to
- B
- Create migration job using Database Migration Service.
- C
- Create migration job using Database Migration Service.
- D
- Use the mysqldump utility to manually initiate a backup of MySQL during the application
How the community answered
(47 responses)- A11% (5)
- B81% (38)
- C2% (1)
- D6% (3)
Explanation
Database Migration Service (DMS) is Google's purpose-built tool for migrating databases to Cloud SQL with minimal downtime. It uses Change Data Capture (CDC) to continuously replicate changes from the source database to Cloud SQL in real time. This means the cutover window is extremely short - only the time needed to stop writes, verify replication is caught up, and redirect the application. A manual mysqldump (D) of a 500 GB database would require a long maintenance window for the dump, transfer, and import, making it unsuitable for minimizing downtime. DMS handles the bulk load and ongoing CDC in a managed, Google-recommended workflow specifically designed for this migration pattern.
Topics
Community Discussion
No community discussion yet for this question.