When optimizing program performance, we can print SQL request logs for a period of time. Is there any common log analysis tool or method that can quickly locate frequent SQL requests and slow queries, what are the common SQL statements that cause performance problems, such as cascade queries? I would like to thank you for optimizing the performance of the program,
We can print the SQL request logs for a period of time,
Is there a common log analysis tool or method,
Can you quickly locate common SQL statements that cause performance problems, such as frequent SQL requests, slow queries, and cascading queries?
Recommended. Thank you.
Reply content:
When optimizing program performance,
We can print the SQL request logs for a period of time,
Is there a common log analysis tool or method,
Can you quickly locate common SQL statements that cause performance problems, such as frequent SQL requests, slow queries, and cascading queries?
Recommended. Thank you.
Mysql comes with it, such as mysqldumpslow. You need to learn mysql