… MySQL slow logs temporarily during 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 { nocompress create 660 mysql mysql size 1G dateext missingok notifempty sharedscripts postrotate /usr/local/bin/mysql…
The post Post: Rotating MySQL slow logs safely appeared first on MySQL Performance Blog.