2018年1月19日

MySQL: 查看一次SQL的执行时间都花在哪些环节上

摘要: select @@profiling -- 看看当前的session的profiling打开没有 set profiling = 1 -- 如果没打开,打开一下 -- 执行一些sql select count(*) ... select * from ... show profiles -- 查看所 阅读全文

posted @ 2018-01-19 16:58 会学习的猪 阅读(317) 评论(0) 推荐(0) 编辑

导航