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

Why connect tidb more and more slowly when app start? #5707

Closed
kylezhang opened this issue Jan 24, 2018 · 5 comments
Closed

Why connect tidb more and more slowly when app start? #5707

kylezhang opened this issue Jan 24, 2018 · 5 comments
Labels
type/question The issue belongs to a question.

Comments

@kylezhang
Copy link

kylezhang commented Jan 24, 2018

Please answer these questions before submitting your issue. Thanks!

  1. What did you do?
    Why connect tidb more and more slowly when app(nodejs/sequelizejs, sequel Pro) start, often there will be a timeout, the solution is to acquireConnectionTimeout increase.

  2. What did you expect to see?

  3. What did you see instead?

  4. What version of TiDB are you using (tidb-server -V or run select tidb_version(); on TiDB)?

image

@kylezhang kylezhang changed the title Why link tidb more and more slowly? Why connect tidb more and more slowly? Jan 24, 2018
@kylezhang kylezhang changed the title Why connect tidb more and more slowly? Why connect tidb more and more slowly when app start? Jan 24, 2018
@shenli
Copy link
Member

shenli commented Jan 24, 2018

@kylezhang Thanks for your feedback! Please try the latest master or release 1.0.7. We just fixed a related issue in the last week.

@kylezhang
Copy link
Author

kylezhang commented Jan 24, 2018

@shenli Thanks, 1.0.7 can solve my problem?
And could you give me a commit id to solve this problem?

@shenli
Copy link
Member

shenli commented Jan 24, 2018

@kylezhang Please take a look at this PR: #5679
There is a benchmark result in this PR: #5677

@zz-jason zz-jason added the type/question The issue belongs to a question. label Mar 9, 2018
@kolbe
Copy link
Contributor

kolbe commented Mar 12, 2019

Hi @kylezhang, did you have a chance to re-test this scenario after upgrading? Did you see any improvement in performance?

@ghost
Copy link

ghost commented Jul 22, 2020

I am going to close this issue as stale. Please feel free to re-open if you have additional questions. Thanks!

@ghost ghost closed this as completed Jul 22, 2020
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/question The issue belongs to a question.
Projects
None yet
Development

No branches or pull requests

4 participants