Safe to delete the Slow Query Log
Really simple question...
I just edited my.cnf to disable slow query logging, because the log file generated by this has grown to more than 20GB in size.
My question is whether it is safe to delete the slow query log (generated at /var/lib/mysql/srv-slow.log) in order to free up this much needed disk space?
-
Hello, The following MySQL document explains the process of deleting this log file: MySQL :: MySQL 5.7 Reference Manual :: 6.4.7 Server Log Maintenance Please ensure you follow these instructions as opposed to simply removing the log file directly with the "rm" command. Thank you. 0
Please sign in to leave a comment.
Comments
1 comment