This commit is contained in:
xiangwb
2018-05-07 17:28:31 +08:00
parent ae53c3efc3
commit 43736b8567
@@ -0,0 +1,4 @@
查询是否开启慢查询和慢查询日志存放位置
show variables like 'slow_query%';
查询超过多少秒才记录
show variables like 'long_query_time';