Answer the question
In order to leave comments, you need to log in
How to reduce load on mysql?
How to reduce load on mysql?
1. show full processlist - 10-12 requests maximum ( Sorting result , Waiting for table level lock )
2. slog is empty, there are no such requests
3. 150-200 people work in the system
4. records in the database - 600k
Answer the question
In order to leave comments, you need to log in
Upgrade to MariaDB 10, it's a fully compatible fork. I have been working in production for 2 years. On the default config, LA fell from 7 to 0.4.
The most important thing is to switch from InnoDB to Xtradb, from MyISAM to ARIA. All are fully compatible
Waiting for table level lock
The time to acquire the initial locks is not counted as execution time.
optimize settings - mysqltuner.pl, for example, run
if there are constantly requests in the queue - it means that it does not have time for something;)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question