User Tools

Site Tools


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_log
Output 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)

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki