Quantcast
Channel: MySQL Performance Blog » Search Results » rotate mysql slow query log
Viewing all articles
Browse latest Browse all 23

Post: Rotating MySQL slow logs safely

$
0
0

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.


Viewing all articles
Browse latest Browse all 23

Trending Articles