摘要:打开分析 set profiling=1; run your sql1; run your sql2; 查看sql1,sql2的语句分析 show profiles; show profile for query 1; //查看sql1的具体分析 + + + | Status | Duration
阅读全文
posted @ 2021-04-02 09:58
鱼儿也疯狂
文章分类 - Mysql 慢查询收集
摘要:打开分析 set profiling=1; run your sql1; run your sql2; 查看sql1,sql2的语句分析 show profiles; show profile for query 1; //查看sql1的具体分析 + + + | Status | Duration
阅读全文
posted @ 2021-04-02 09:58
摘要:MySQL慢查询记录原理和内容解析 转自知数堂: https://mp.weixin.qq.com/s/8rbGF74-pMomPuhSMg3tpA
阅读全文
摘要:mysql自带工具 mysqldumpslow 举例 按照锁定时间查询
阅读全文
|