The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    15
    Likes Received:
    0
    Trophy Points:
    1
    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?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,694
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page