MySql性能分析工具之Show Profile

一,一句话介绍 Show Profile 以及 Show Profiles 语句可以显示当前会话过程中执行的sql语句的性能(profiling)信息。 二,开启 1.进入mysql命令行 2.开启Show Profile,并测试 3.使用Show Profile查看最近一条sql 语句性能 4.使用Show Profiles 列出最近多条sql语句性能。长度由变量profiling_histor
相关文章
相关标签/搜索