paulo-t opened a new pull request, #4432: URL: https://github.com/apache/flink-cdc/pull/4432
This PR adds an Oracle CDC option to skip `ANALYZE TABLE` before incremental snapshot chunk planning. Oracle CDC uses approximate row count from `ALL_TABLES.NUM_ROWS` while planning incremental snapshot chunks. The connector currently runs `ANALYZE TABLE` before reading that value. On large production tables this can be expensive, may require additional privileges, and can delay job startup. ### Changes - Add `scan.incremental.snapshot.analyze-table.enabled`, enabled by default. - Propagate the setting to Oracle source configuration and Debezium properties. - Skip `ANALYZE TABLE` when the option is set to `false`. - Add table factory coverage for the new option. ### Tests - Not run locally: Maven currently gets stuck before the test phase while launching Java (`java --enable-native-access=ALL-UNNAMED -version`). -- 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]
