-
先执行
show variables like 'profiling'
,查看测试时间是否开启,
如果不记得这个单词,也可以使用模糊查询'%pro%'
如果以没有开启,则需要设置set profiling=1
-
查看最近执行的每一句 sql 消耗时间
mysql 查询时间测试
猜你喜欢
转载自blog.csdn.net/weixin_34205826/article/details/86822922
今日推荐
周排行