mysqlsla的安装与使用(3)

来源:未知 责任编辑:责任编辑 发表时间:2014-05-26 11:02 点击:

Count         : 2  (50.00%)
Time          : 0 total, 0 avg, 0 to 0 max  (0.00%)
Lock Time (s) : 0 total, 0 avg, 0 to 0 max  (0.00%)
Rows sent     : 1 avg, 1 to 1 max  (11.11%)
Rows examined : 86 avg, 77 to 94 max  (87.69%)
Database      : 
Users         : 
        root@localhost  : 100.00% (2) of query, 100.00% (4) of all users

Query abstract:
SELECT SUM(format(duration,N)) AS duration FROM information_schema.profiling WHERE query_id=N;

Query sample:
select sum(format(duration,6)) as duration from information_schema.profiling where query_id=7;

______________________________________________________________________ 002 ___
Count         : 1  (25.00%)
Time          : 1 s total, 1 s avg, 1 s to 1 s max  (100.00%)
Lock Time (s) : 1 s total, 1 s avg, 1 s to 1 s max  (100.00%)
Rows sent     : 4 avg, 4 to 4 max  (22.22%)
Rows examined : 12 avg, 12 to 12 max  (6.15%)
Database      : 
Users         : 
        root@localhost  : 100.00% (1) of query, 100.00% (4) of all users

Query abstract:
SELECT * FROM tt WHERE a=N;

Query sample:
select * from tt where a=2;
[root@localhost mysqlsla-2.03]# 

[root@localhost mysqlsla-2.03]# 

 

 

 

 

--------end-------  

发表评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
用户名: 验证码:点击我更换图片
最新评论 更多>>

推荐热点

  • mysql-mmm
  • mysqldump命令——MySQL数据库备份还原
  • Oracle数据导入MySQL的快捷工具:MySQL Migration Toolkit
  • 简简单单储存过程——循环一个select结果集
  • MySQL数据库十大优化技巧
  • Mysql主主复制架构配置
  • Mysql安装笔记
  • MySQL Stmt预处理提高效率问题的小研究
  • Mysql的Procedure 参数为NULL问题分析
网站首页 - 友情链接 - 网站地图 - TAG标签 - RSS订阅 - 内容搜索
Copyright © 2008-2015 计算机技术学习交流网. 版权所有

豫ICP备11007008号-1