HuG0012 opened a new issue, #13376:
URL: https://github.com/apache/seatunnel/issues/13376

   ### Search before asking
   
   - [x] I had searched in the 
[feature](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22Feature%22)
 and found no similar feature requirement.
   
   
   ### Description
   
   Could Oracle-CDC expose an opt-in `hybrid` mining strategy when 
`schema-changes.enabled=true`? This would allow users to track online DDL while 
reducing the cost of starting LogMiner windows with a redo dictionary.
   
   In the **SeaTunnel 3.1.0 tag**, the [Oracle connector 
POM](https://github.com/apache/seatunnel/blob/3.1.0/seatunnel-connectors-v2/connector-cdc/connector-cdc-oracle/pom.xml#L30-L48)
 pins Debezium `1.9.8.Final`. The [configuration 
factory](https://github.com/apache/seatunnel/blob/3.1.0/seatunnel-connectors-v2/connector-cdc/connector-cdc-oracle/src/main/java/org/apache/seatunnel/connectors/seatunnel/cdc/oracle/config/OracleSourceConfigFactory.java#L101-L105)
 selects `redo_log_catalog` when schema evolution is enabled. The [streaming 
reader](https://github.com/apache/seatunnel/blob/3.1.0/seatunnel-connectors-v2/connector-cdc/connector-cdc-oracle/src/main/java/io/debezium/connector/oracle/logminer/LogMinerStreamingChangeEventSource.java#L237-L263)
 calls `startMiningSession` inside its SCN-window loop. That reader file is 
identical in the 2.3.12 and 3.1.0 release tags.
   
   [Debezium documents the dictionary reconstruction 
cost](https://github.com/debezium/dbz/issues/1693) and [introduced hybrid 
mining in 
2.6](https://debezium.io/blog/2024/04/02/debezium-2-6-final-released/#oracle-logminer-hybrid-mining-strategy).
 An opt-in implementation could preserve the existing default and validate the 
upstream restriction on `lob.enabled=true`.
   
   ### Usage Scenario
   
   A source table is altered while the reader is catching up. Write a row, 
rename a column, write another row, then restore from a checkpoint taken before 
the rename. Verify that both changes reach the sink with the correct column 
mapping. Compare LogMiner startup time and end-to-end lag over several windows 
with the current and proposed strategies.
   
   ### Related issues
   
   #10708 and #10632 track the broader Debezium upgrade. This request covers 
the Oracle-specific mining strategy and its behavior across DDL and checkpoint 
recovery.
   
   ### Are you willing to submit a PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to