Dear Debezium Team,
As explained in this document "
https://docs.oracle.com/en/database/oracle/oracle-database/19/sutil/steps-in-a-typical-logminer-session.html#GUID-6609EBA2-B2D7-4EAE-8344-A1F6C0A24760"
at section "Understanding How to Run LogMiner Sessions", we do not have access to CDB$ROOT on Autonomous Database. In this case, we must use the per-PDB capture method.
In this mode, we have to provision a local user with a predefined set of privileges to the source PDB whose logs we want to review. All LogMiner processing is restricted to this PDB only.
The same section also explains how to run LogMiner on individual PDBs: "To run LogMiner on individual PDBs, the procedures are slightly different. instead of using DBMS_LOGMNR.ADD_LOGFILE.
you specify a period in which you want to review log files for the PDB. Specify the SCN value of the log that you want to query, with either startScn and, if you choose, endScn, or startTime,
and if you choose, endTime. You then start LogMiner with DBMS_LOGMNR.START_LOGMNR. DBMS_LOGMNR.START_LOGMNR automatically adds the redo logs for you to analyze.".
The privileges required to run LogMiner on individual PDBs are explained at "Requirements for Running LogMiner for Individual PDB" section. Here we can find that a new database procedure
is used to grant the required privileges. This procedure is DBMS_GOLDENGATE_AUTH.GRANT_ADMIN_PRIVILEGE.
Another difference we can notice is at "24.12.4 Typical LogMiner Session Task 3: Specify Redo Log Files for Analysis" section. To query logs for an individual PDB, you use a slightly
different procedure. After you connect to the PDB, you query DBA_LOGMNR_DICTIONARY_BUILDLOG, identify a START_SCN value, and then start LogMiner with DBMS_LOGMNR.START_LOGMNR, specifying
the SCN value of the log that you want to review. DBMS_LOGMNR.START_LOGMNR automatically adds the redo logs for you.
Do you have a plan for development on these changes?
Regards,
Kurt