DMS transaction

0

what will happen if I insert a new data into my target table while thd DMS job running? both the new data I inserted and the migrated data from source table will be inserted into my target table safely?

已提问 2 年前453 查看次数
2 回答
1

You should be able to insert data to target database as long as you are not breaking any referential integrity with other tables. Other things to look is if your table has auto fields like identity or sequence it might clash with the inserts coming from dms and thereby generate duplicate ids. and if it is primary key it would fail this inserts.

AWS
已回答 2 年前
-1

This would be achieved by using ongoing replication. If you are already choosing the DMS migration type as "migrate existing data and replicate ongoing changes", the data would get migrated as of start time and any changes that are in the source database CDC log would get replicated into the target database.

If you are just choosing DMS migration type as "migrate existing data", you would need another replication task using DMS.

Please check this link for more information: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.Creating.html

profile pictureAWS
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则