mysql 慢日誌配置

查看是否開啓慢日誌功能 >show variables like '%quer%'; long_query_time    3s 後面是時間 slow_query_log  ON 是開啓 OFF是關閉 修改mysql 配置文件 ubuntu的mysql5.9 #vim /etc/mysql/mysql.conf.d/mysqld.cnf 添加下面數據 slow_query_log=TRUE slo
相關文章
相關標籤/搜索