时间:2021-07-01 10:21:17 帮助过:12人阅读
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)
bitsCN.com