Locally managed Oracle database > AWS using Binary reader fails

0

It seems that the UseBfile parameter is being ignored for my source endpoint?

{ "AddSupplementalLogging": true, "ExtraArchivedLogDestIds": [], "DatabaseName": "ORCL", "FailTasksOnLobTruncation": false, "Port": 1521, "ServerName": "hostname.xx.xxxx", "Username": "AWSUSER", "UseBFile": true, "UseLogminerReader": false }

Every time a backup runs on my server - the DMS replication task fails with this type of error message

"Redo log with the sequence 63 does not exist, thread 1"

What am I missing?

1 Answer
0

Hey.. Robert

The issue you're facing is likely due to the missing archived redo logs on the source Oracle database. Ensure that archived redo logs are retained and available for AWS DMS to process.

To fix this, you can: Increase retention of archived redo logs on the Oracle database to ensure they are available during DMS replication. Make sure supplemental logging is enabled correctly for DMS to capture changes.

Example to enable supplemental logging:

ALTER DATABASE ADD SUPPLEMENTAL LOG DATA (ALL) COLUMNS;

Also, verify that the UseLogminerReader is set properly for binary reader use.

profile picture
EXPERT
answered a month ago
  • I do have that set, and I have "useLogMinerReader=N;useBfile=Y" in my ECA for my source endpoint. However, it is still failing whenever a backup runs on that particular database.

  • It might be that the backup process is deleting the redo logs too early. You could try disabling RMAN log deletion during backups, so the redo logs stay available for DMS. Also, double-check if UseBfile is actually being recognized by DMS.

    Maybe increasing the retention of the redo logs during the backup window could help too. Worth a shot!

  • Even if I run a backup once a day, the DMS task fails on an archivelog that may have been sitting out there up to 6 hours. Is there that much lag time on DMS replication? Also, I thought that by enabling Binary mode, it reads the online redo logs and is not dependent on the archive logs for the CDC.

  • How would I confirm that DMS is indeed using the UseBfile mode?

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions