mysql优化之性能监控(一)-------show profile命令

使用show profile查询剖析工具 设定查看sql执行具体时间的命令:set profiling=1; 查看某一条或多条sql命令执行具体时间:show profiles; 查看sql整个执行过程每个阶段的时间:show profile; 查看多条sql命令中某一条各阶段执行时间:show profile for query n; 显示所有的性能信息:show profile all for
相关文章
相关标签/搜索