Quantcast
Channel: MySQL Performance Blog » Search Results » mysql truncate slow log
Viewing all articles
Browse latest Browse all 28

Post: Rotating MySQL slow logs safely

$
0
0

… its log file. MySQL has a mutex for slow log writes. Truncation can block MySQL because the OS serializes access to the inode during the truncate operation… MySQL slow logs during rotation Flushing logs takes time. Meanwhile, queries are still being executed. To prevent MySQL from filling the slow log buffer, we disable the MySQL slow logs

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


Viewing all articles
Browse latest Browse all 28

Trending Articles