The MySQL database workload is determined by the number of queries that it processes. There are several situations in which MySQL slowness can originate. The first possibility is if there is any queries that are not using proper indexing. When a query cannot make use of an index, the MySQL server has to use more resources and time to process that query. By monitoring queries, you have the ability to pinpoint SQL code that is the root cause of a slowdown.
Related resources Become a MySQL DBA blog series - Using Explain to improve SQL Queries Become a MySQL DBA blog series - Optimizer Hints for faster query execution …
[Read more]