Incorrect database disk usage
Hello,
We are checking our server disk usage and found some mysterious stuff with the database disk usage.
On /var/lib/mysql some databases are occupying over 10g disk space:
But when we check the cPanel disk usage or database usage. it shows 0 byte usage. What could be wrong here, the /var/lib/mysql directory or the cPanel disk usage?
-
I can see WP options database table is consuming this much of disk space.
Is this for real?
0 -
Hey there! It sounds like this could be an issue with "slack space" in the database. We have some additional details on this here:
but could you try using the PHPMyAdmin >> Optimize Table tool to see if that changes the reported disk usage?
0 -
Islam Apon Go into PHPMyAdmin (at either WHM or cPanel) and look at the database. We have seen buggy WordPress plugins that can create 100's of 1000's of rows in the wp_options table. From PHPMyAdmin you can see approximate row counts for the tables.
You'll also want to look at the storage engine. I don't believe you can optimize INNODB (the default) like cPRex suggested.
0 -
We’ve resolved the issue by installing WP optimization plugins on the affected websites and optimizing their database tables. We’ll continue to monitor the situation closely for any further problems.
Thanks cPRex & CyberLynk Software for the help.
0 -
Nice!
0
Please sign in to leave a comment.
Comments
5 comments