默认mysql查询时间只显示小数点后两位
select * from mylock;
设置profiling属性
再次select后
show profiles
显示各个查询过程耗费时间
show profile;
官网文档:https://dev.mysql.com/doc/refman/8.0/en/show-profile.html
微信扫一扫
默认mysql查询时间只显示小数点后两位
select * from mylock;
设置profiling属性
再次select后
show profiles
显示各个查询过程耗费时间
show profile;
官网文档:https://dev.mysql.com/doc/refman/8.0/en/show-profile.html
相关推荐