mysql慢查询日志记录(二)

2014-11-24 07:34:07 · 作者: · 浏览: 11
ith:
TCP Port: 3306, Named Pipe: (null)
Time Id Command Argument
可以通过如下的命令来查看慢查询的记录数:
mysql> show global status like ‘%slow%’;
+―――――――+――-+
| Variable_name | Value |
+―――――――+――-+
| Slow_launch_threads | 0 |
| Slow_queries | 0 |
+―――――――+――-+