- my.cnf
- [mysqlld]
- long_query_time=2
- #5.0, 5.1 and other versions configure the following options
- log-slow-queries="mysql_slow_query.log"
- #5.5 and above configure the following options
- slow-query-log=On
- slow_query_log_file="mysql_slow_query.log"
- log-query-not-using-indexes
mysql open slow query record
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=326232379&siteId=291194637
Ranking