mysql语句执行时间分析

查看mysql版本:select version(); 方法一: show profiles。 1.  Show profiles是5.0.37之后添加的,要想使用此功能,要确保版本在5.0.37之后。    查看方法: show variables like "%pro%";(查看profiling是否开启)  设置开启方法: set profiling = 1; 可以开始执行一些想要分析的sq
相关文章
相关标签/搜索