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

lightning logical mode import should support persistent connection pooling and prepared statement and client statement cache #54850

Closed
dbsid opened this issue Jul 23, 2024 · 0 comments · Fixed by #55482
Labels
type/enhancement The issue or PR belongs to an enhancement.

Comments

@dbsid
Copy link
Contributor

dbsid commented Jul 23, 2024

Enhancement

during the tidb mode import, seems lightning destroy the connection after the insert, making it impossible to reuse the connection and plan cache hit.

image

high overhead on sql parse and compile
image

@dbsid dbsid added the type/enhancement The issue or PR belongs to an enhancement. label Jul 23, 2024
@dbsid dbsid mentioned this issue Jul 23, 2024
13 tasks
@dbsid dbsid changed the title lightning logical mode import should support persistent connection pooling lightning logical mode import should support persistent connection pooling and prepared statement and client statement cache Jul 27, 2024
@dbsid dbsid mentioned this issue Jul 27, 2024
13 tasks
@ti-chi-bot ti-chi-bot bot closed this as completed in 2eb4dc8 Sep 21, 2024
winoros pushed a commit to winoros/tidb that referenced this issue Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
1 participant