Skip to content

[Bug] Oracle source runs, and the number of oracle connections keeps increasing #2154

@spoon-lz

Description

@spoon-lz

Search before asking

  • I searched in the issues and found nothing similar.

Flink version

1.13

Flink CDC version

2.3

Database and its version

oracle 19c

Minimal reproduce step

I used oracle cdc incrementally to consume oracle data, and after running it for a while, I found that the number of oracle connections was high

code:

 OracleSource.Builder builder = com.ververica.cdc.connectors.oracle.OracleSource.<String>builder()
                .database(source.getDatabase())
                .schemaList(source.getSchemaList())
                .tableList(source.getTable())
                .username(source.getUsername())
                .password(source.getPassword())
                .startupOptions(StartupOptions.latest())
                .deserializer(new JsonDebeziumDeserializationSchema())
                .debeziumProperties(properties);

What did you expect to see?

The number of oracle connections held by the flink taskmanager is within a reasonable range

What did you see instead?

0526_heap
0526_netstat

The DBA reported that too many connections were putting pressure on oracle

Anything else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions