Python调用pt-query-digest分析Mysql慢查询生成html报告
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
analysis-slow-log.py
pt-query-digest
template.html

README.md

Python调用pt-query-digest分析Mysql慢查询生成html

报告 报告

Usage:

wget https://raw.githubusercontent.com/kalivim/Mysql-SlowLog-analysis/master/analysis-slow-log.py

chmod +x analysis-slow-log.py

./analysis-slow-log.py Mysql_SlowLog_file general_json_filename report_name