标签:not log tom nbsp 信息 mil size ble exe
什么是慢日志查询?
-- 配置自动记录慢日志
-- 查看慢日志
如何配置慢日志?
默认关闭
set_query_log = ON ON 表示开启,OFF关闭
long_query_tome = 2
slow_query_log_file = 目录
log_queries_not_using_insexes = OFF
如何看当前配置信息?
show variables like ‘%query%’
如何修改当前配置?
set global 变量名 = 值
标签:not log tom nbsp 信息 mil size ble exe
原文地址:http://www.cnblogs.com/2bjiujiu/p/7003823.html