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?

preguntada hace 2 años453 visualizaciones
2 Respuestas
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
respondido hace 2 años
-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
respondido hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas