Mysql自带profiling性能分析工具使用分享
2018-10-12 14:10
579 查看
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性能分析工具
- 【转】VS2012自带的 性能分析 工具使用实例
- VS2012自带的 性能分析 工具使用实例
- 关于VS2012自带的 性能分析 工具使用实例(图文介绍)
- 使用VS自带的工具分析.NET程序的性能
- MySQL诊断分析工具 Profiling 的使用[转载]
- MySQL性能分析工具profile的使用(1)
- VS2012自带的 性能分析工具使用包括CPU和内存等自定义详解
- 【.NET程序性能分析】使用VS自带的工具分析.NET程序的性能
- VS2012自带的 性能分析 工具使用实例
- 使用mysql自带工具mysqlslap测试数据库性能
- VS2012自带的 性能分析 工具使用实例
- MySQL性能分析工具profile使用教程
- 【转】VS2012自带的 性能分析 工具使用实例
- MySQL性能分析工具profile使用教程
- VS2012自带的 性能分析 工具使用实例
- VS2012自带的 性能分析 工具使用实例