简体   繁体   中英

how to enable CDC in google cloud sql server for AWS DMS replication?

I am trying to migrate data from GCP cloud sql server to AWS aurora MySQL using DMS CDC, for this I need to enable CDC on DMS source database which cloud SQL. As per the AWS documentation I need to enable CDC by executing "sp_cdc_enable_db" SP and for this I need sysadmin access but google cloud doesn't support sysadmin access. So, in this scenario how to enable CDC?

在此处输入图像描述

As you know, Cloud SQL doesn't support sysadmin access, and CDC feature too.

So you have to use different method to the migration process.

If you really want to use CDC, I recommend to use middle-man replication between GCP cloud sql and AWS aurora mysql.

Just replicate your cloud sql to on-premise or somewhere else where you can execute cdc.

And then migrate the SQL server replication to AWS aurora using AWS DMS, But aurora will not be synced with source DB in cloud sql.

Or if you just want to both DBs are in sync, Have you tried steps AWS document described in here ?

I think "Migrating existing data and replicating ongoing changes" section worked exactly you want.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM