…logging a high volume of queries to the slow log. Do not use copytruncate Logrotate offers two techniques for log rotation (your log…log 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.