MySQL query performance analysis
Others
2020-02-09 19:39:28
views: null
analysis:
- Observation, at least four hours start to see slow SQL production situation.
- Turn on slow query log, set thresholds, such as more than 5 seconds is slow SQL, and grab it out.
- explain + slow SQL analysis
- show profile
- Operation and maintenance manager or DBA, parameter tuning SQL database server.
to sum up:
- Open and capture slow query
- explain + slow SQL analysis
- show profile query in SQL Server MYSQL implementation details inside and lifecycle situation
- Parameter Tuning SQL database server
Published 217 original articles
·
won 125 Like
·
views 10000 +
Origin blog.csdn.net/qq_39885372/article/details/104191526