A company is planning to migrate an on-premises MySQL database to an Amazon Aurora MySQL DB cluster using AWS Database Migration Service (DMS). The company requires the database to remain online during the migration, with all ongoing transactional changes continuously replicated to the target database. Which configuration must be enabled on the source database to meet this requirement?
- AEnable Multi-AZ replication on the target Amazon Aurora MySQL cluster.
- Enable binary logging (binlog) in ROW format on the source MySQL database.Answer
- CRun the AWS Schema Conversion Tool (SCT) to generate a database migration assessment report.
- DConfigure the DMS task to use the 'Migrate existing data' (full-load) migration type only.
Answer
Enable binary logging (binlog) in ROW format on the source MySQL database.
To perform ongoing replication (Change Data Capture) from a MySQL database, AWS DMS must read the source database's binary logs. Therefore, enabling binary logging (binlog) in ROW format on the source MySQL database is a mandatory prerequisite.
Step-by-Step Solution
Key Concept
AWS DMS Change Data Capture (CDC) prerequisites for MySQL source databases.