-
Notifications
You must be signed in to change notification settings - Fork 983
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
What is the correct number for mysql-threads #4732
Comments
First hypothesis: Another hypothesis: My first recommendation is to profile CPU utilization, and then investigate possible bottleneck. But this issue is unlikely related to ProxySQL's mysql-threads configuration |
Hi @alt-dima
Thank you! You just confirmed that it is not a ProxySQL issue. |
I have six ProxySQL instances running with 8 CPUs each and mysql-threads=24. However, under high traffic, the proxies are still only using a maximum of 50% CPU, which causes latency on the application side. Adding more proxies stabilizes the application and improves performance. I tried increasing mysql-threads beyond 24, but it didn’t make any noticeable impact.
The text was updated successfully, but these errors were encountered: