【发布时间】:2012-06-05 03:26:02
【问题描述】:
我的 sql 实例有几个不同的数据库。
我已将 my.cnf 配置为使用以下行记录慢速查询:
log_error=/var/log/mysql/error.log
log_queries_not_using_indexes=1
slow_query_log=1
slow_query_log_file=/var/log/mysql/mysql-slow.log
long_query_time=1
它工作正常,但我希望只为特定数据库提供日志。
有可能吗?
【问题讨论】:
标签: mysql performance configuration centos