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

Open
kylezhang opened this issue Jan 24, 2018 · 4 comments
Open

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

kylezhang opened this issue Jan 24, 2018 · 4 comments
Labels

Comments

@kylezhang
Copy link

@kylezhang 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

This comment has been minimized.

Copy link
Member

@shenli 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

This comment has been minimized.

Copy link
Author

@kylezhang 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

This comment has been minimized.

Copy link
Member

@shenli 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 question label Mar 9, 2018
@kolbe

This comment has been minimized.

Copy link
Contributor

@kolbe 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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.