- Newest
- Most votes
- Most comments
The issue you're experiencing is related to AWS DMS's inability to access Oracle archive logs before they become available. When DMS catches up to the current online redo log that hasn't been archived yet, it has a limited retry window before failing with the "Redo log with sequence X does not exist" error.
For Amazon RDS Oracle instances, you can increase the archive log retention period to help prevent this issue. You can run the following procedure to extend log retention:
exec rdsadmin.rdsadmin_util.set_configuration('archivelog retention hours',24);
This increases the retention time for archived logs, giving DMS more time to process them before they're removed from the server.
However, your specific scenario is slightly different - you're dealing with logs that haven't been archived yet rather than logs that have been purged. Unfortunately, there isn't a DMS task setting or endpoint-specific configuration (ECA) that directly controls the Binary Reader's wait time for the next archived redo log to become available.
The fundamental challenge is that DMS needs archived redo logs to process changes, and in low-traffic environments, Oracle may not generate enough activity to trigger automatic log switches. While you mentioned not having direct RDSAdmin access to modify archive_lag_target, this Oracle parameter is actually what would force a log switch after a specified time period, which would be the most direct solution to your problem.
You may want to consider working with your database administrators to have archive_lag_target configured on the Oracle RDS instance, as this is the most effective way to ensure logs are archived regularly in low-activity environments, preventing the timeout issue you're experiencing with DMS.
Sources
Troubleshooting migration tasks in AWS Database Migration Service - AWS Database Migration Service
Relevant content
- asked 2 years ago
- asked 8 years ago
