mysql_slow_query
This is an old revision of the document!
You can check to see if slow query logging is currently enabled. The following command assumes you have configured .my.cnf file:
mysql -e 'show variables;' | grep slow_query_logOutput should show something similar to:
slow_query_log OFF slow_query_log_file /var/run/mysqld/mysqld-slow.log
mysql_slow_query.1428235556.txt.gz · Last modified: 2024/05/23 07:26 (external edit)