profiling配合explain使用,真香啊。
show variables like '%profiling%'
set profiling=1
show profiles
show profile
show profile直接查看上一条sql语句的开销信息
profiling配合explain使用,真香啊。
show variables like '%profiling%'
set profiling=1
show profiles
show profile
show profile直接查看上一条sql语句的开销信息