Mysql自带profiling性能分析工具使用分享
2017-02-11 23:24
561 查看
1. show variables like '%profiling%';(查看profiling信息)
2. set profiling=1;(开启profiling)
3. 执行SQL查询
例:select goods_name from ecs_goods where goods_id <5000;
show profiles;
4. show profile for query 4;
show profile 的格式如下:
SHOW PROFILE [type [, type] ... ]
[FOR QUERY n]
[LIMIT row_count [OFFSET offset]]
type:
ALL
| BLOCK IO
| CONTEXT SWITCHES
| CPU
| IPC
| MEMORY
| PAGE FAULTS
| SOURCE
| SWAPS
2. set profiling=1;(开启profiling)
3. 执行SQL查询
例:select goods_name from ecs_goods where goods_id <5000;
show profiles;
4. show profile for query 4;
show profile 的格式如下:
SHOW PROFILE [type [, type] ... ]
[FOR QUERY n]
[LIMIT row_count [OFFSET offset]]
type:
ALL
| BLOCK IO
| CONTEXT SWITCHES
| CPU
| IPC
| MEMORY
| PAGE FAULTS
| SOURCE
| SWAPS
相关文章推荐
- Mysql自带profiling性能分析工具使用分享
- Mysql自带profiling性能分析工具使用分享
- Mysql自带profiling性能分析工具
- Mysql自带profiling性能分析工具
- 如何使用MySQL自带的性能压力测试工具mysqlslap
- 关于VS2012自带的 性能分析 工具使用实例(图文介绍)
- MySQL诊断分析工具 Profiling 的使用[转载]
- 【.NET程序性能分析】使用VS自带的工具分析.NET程序的性能
- MySQL性能分析工具profile使用教程
- MySQL性能分析工具profile使用教程
- 自带的性能分析调试工具TraceView使用方法
- 【转】VS2012自带的 性能分析 工具使用实例
- 【转载&收藏】MySQL自带工具之性能测试工具MySQLSLAP使用指南
- VS2012自带的 性能分析 工具使用实例
- android 性能分析,traceview android自带的性能分析工具,traceview的使用
- VS2012自带的 性能分析 工具使用实例
- MySQL性能分析工具profile使用教程
- VS2012自带的 性能分析 工具使用实例
- VS2012自带的 性能分析 工具使用实例
- MySQL性能分析工具profile的使用(2)