2 Answers
- Newest
- Most votes
- Most comments
1
When using AWS DMS, keep in mind that there are some limitations when it comes to capturing schema changes. When you add new columns to the source database, AWS DMS may not replicate these new columns automatically. As you have observed, restarting the replication task is usually required to resolve this issue. This is due to the replication task's need to reload the source tables' metadata in order to understand the new schema.
about the parameter yes that parameter can capture DDL events
0
We had the exact same issue. After configuring
"CaptureDdls": true,
on DMS Postgres endpoint, new columns get captured instantaneously. Hope this works for you as well.
answered 7 months ago
Relevant content
- asked 2 years ago
- Accepted Answerasked 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 2 years ago
Thanks for the answer, it is very helpful So what is the exact function of the HandleSourceTableAltered parameter? I have it set to True but it can't capture the changes in the DDL
I have noticed that restarting the task is not enough, at the moment the only solution is to create a new task with the same endpoints
I have an RDS MySQL source and a Redshift target. I added a column to a source table, but the task failed to capture it, and even after restarting the task many times, it is in
Running with Errors
state.My task settings have this:
But still DMS is not capturing changes and task is in an error state.
What's the solution to this? Surely, re-creating the task from start is not a viable option.