mysql top slow sql my.cnf配置

log_slow_queries    = /opt/djangostack-1.4-1/mysql/mysql-slow.log
long_query_time = 2
log-queries-not-using-indexes

你可能感兴趣的:(my.cnf)