Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Safe to delete the Slow Query Log

Discussion in 'Workarounds and Optimization' started by jasoncollege24, Jul 15, 2016.

  1. jasoncollege24

    Joined:
    Mar 25, 2012
    Messages:
    17
    Likes Received:
    1
    Trophy Points:
    53
    Location:
    Portsmouth, Virginia, United States
    cPanel Access Level:
    Root Administrator
    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?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,617
    Likes Received:
    1,787
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice