当前位置:Gxlcms > mysql > MySQL慢查询专题_MySQL

MySQL慢查询专题_MySQL

时间:2021-07-01 10:21:17 帮助过:12人阅读

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

人气教程排行