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

Get rid of prepareStatement overhead #18

Open
eivanov89 opened this issue Apr 17, 2024 · 3 comments
Open

Get rid of prepareStatement overhead #18

eivanov89 opened this issue Apr 17, 2024 · 3 comments
Assignees

Comments

@eivanov89
Copy link
Member

eivanov89 commented Apr 17, 2024

In a multistep transaction we send prepare transaction requests multiple times (obtaining a session each time, which can be blocking).

Alex, you told you know, how to avoid this stuff. Please, have a look again.

@alex268
Copy link
Member

alex268 commented Apr 18, 2024

We already added a support of caching of prepared queries to JDBC Driver so there is no overhead for requests except for first

@eivanov89
Copy link
Member Author

We already added a support of caching of prepared queries to ydb-platform/ydb-jdbc-driver#37 so there is no overhead for requests except for first

So, do we need just to update JDBC driver (as planned)?

@alex268
Copy link
Member

alex268 commented Apr 22, 2024

Yes, this issue will be fixed after updating to new version of JDBC driver

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants