Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[INLONG-7882][Sort] Oracle CDC reduces the number of session connections #8406

Merged
merged 3 commits into from Jul 5, 2023

Conversation

e-mhui
Copy link
Contributor

@e-mhui e-mhui commented Jul 3, 2023

Prepare a Pull Request

[INLONG-7882][Sort] Oracle CDC reduces the number of session connections

Motivation

Oracle CDC reduces the number of session connections.
We use oracle connection in context for each reader subtask, Instead of creating a new oracle connection every time.

Modifications

Use oracle connection in context for each reader subtask.

 public void configure(SourceSplitBase sourceSplitBase) {
        /**...**/       
        this.databaseSchema = OracleUtils.createOracleDatabaseSchema(connectorConfig, connection);
       /**...**/
}

@e-mhui e-mhui marked this pull request as draft July 4, 2023 02:15
@e-mhui e-mhui marked this pull request as ready for review July 4, 2023 02:16
@dockerzhang dockerzhang merged commit e460264 into apache:master Jul 5, 2023
9 checks passed
ZhaoNiuniu pushed a commit to ZhaoNiuniu/inlong that referenced this pull request Jul 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Improve][Sort] Oracle CDC reduces the number of session connections
4 participants