MySQL慢查询专题
相关命令:
mysql> show variables like 'slow%';
+---------------------+--------------------------------+
| Variable_name | Value |
+---------------------+--------------------------------+
| slow_launch_time | 2 |
| slow_query_log | OFF |
| slow_query_log_file | /var/lib/mysql/mysql1-slow.log |
+---------------------+--------------------------------+
3 rows in set (0.00 sec)