flink-cdc icon indicating copy to clipboard operation
flink-cdc copied to clipboard

[Bug] oralce 19c CONTINOUS_MINE is desupported

Open hbdrawn opened this issue 3 years ago • 4 comments

Search before asking

  • [X] I searched in the issues and found nothing similar.

Flink version

1.14.6

Flink CDC version

2.3.0

Database and its version

oracle 19c

Minimal reproduce step

java.sql.SQLException: ORA-00308: cannot open archived log '/data/oradata/arch/1_5709_1070298155.dbf'

debeziumProperties.setProperty("log.mining.continuous.mine", "true"); Caused by: java.sql.SQLException: ORA-44609: CONTINOUS_MINE is desupported for use with DBMS_LOGMNR.START_LOGMNR.

What did you expect to see?

support the scene

What did you see instead?

not support

Anything else?

No response

Are you willing to submit a PR?

  • [ ] I'm willing to submit a PR!

hbdrawn avatar Mar 27 '23 14:03 hbdrawn

请参考 debezium 配置 https://github.com/debezium/debezium/blob/v1.6.4.Final/debezium-connector-oracle/src/main/java/io/debezium/connector/oracle/OracleConnectorConfig.java#L135 oracle 19c 之后,DBMS_LOGMNR.START_LOGMNR 不再接收参数 CONTINOUS_MINE,此时使用 debezium 需要配置 "log.mining.continuous.mine"="false"

maohuajie1114 avatar Jul 06 '23 08:07 maohuajie1114

同样的问题 oracle 19c ,配置"log.mining.continuous.mine"="false" 获取不到数据

supercena avatar Jul 26 '23 03:07 supercena

我用flink sql方式, 在with中增加后不报错, 可同步数据 'debezium.log.mining.continuous.mine'='false'

cooltnt avatar Nov 02 '23 01:11 cooltnt

@hbdrawn Oracle 19c do not support continuous mine.

GOODBOY008 avatar Feb 03 '24 03:02 GOODBOY008