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개 답변
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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠