I’m having an issue with a new Oracle database. It is the first multitenant database we are connecting to Debezium. Everything works fine as long as we are dealing with online redo logs. However, occasionally we need to access archived redo logs, and that’s when I get the following error messages in the log:
INFO [io.deb.con.ora.log.LogFileCollector] (debezium-oracleconnector-oarc-change-event-source-coordinator) Redo Thread 1 is inconsistent; an archive log with sequence 154251 is not available
I suspect this is due to the multitenant configuration, though I’m not entirely sure. I first checked whether the file was still available and accessible. I executed the following statements as the Debezium user, and they ran without issues:
ALTER SESSION SET CONTAINER = CDB$ROOT;
EXECUTE DBMS_LOGMNR.ADD_LOGFILE(LOGFILENAME => '/dbarch1/DEZA08C1/1_154251_1209261737.dbf', OPTIONS =>
DBMS_LOGMNR.NEW);
I suspect that the following parameters might be causing problems when reading the archived redo logs:
source.database.dbname=ZA08.WORLD
source.database.pdb.name=trarch
source.database.connection.adapter=logminer
source.log.mining.strategy=hybrid
I assume it has something to do with CDB$ROOT, preventing me from reading the log file.
Does anyone have any tips?
Many thanks in advance.