mysql开启profiling

profiling配合explain使用,真香啊。

show variables like '%profiling%'
set profiling=1
show profiles
show profile

show profile直接查看上一条sql语句的开销信息

posted @ 2022-03-06 10:38  叶常落  阅读(49)  评论(0编辑  收藏  举报