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-------
相关新闻>>
最新推荐更多>>>
- 发表评论
-
- 最新评论 更多>>