Quantcast
Viewing all articles
Browse latest Browse all 37

Comment: Rotating MySQL slow logs safely

logging a high volume of queries to the slow log. Do not use copytruncate Logrotate offers two techniques for log rotation (your loglog rotation. Putting it all together Here is a logrotate configuration file for a slow log that illustrates these best practices: /var/mysql/slow_query.log

The post Comment: Rotating MySQL slow logs safely appeared first on MySQL Performance Blog.


Viewing all articles
Browse latest Browse all 37

Trending Articles