MySQL慢查询专题_MySQL
程序员文章站
2022-06-03 08:46:49
...
bitsCN.com
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