Skip to main content

DB size is double in cPanel than actual size

Comments

3 comments

  • cPRex Jurassic Moderator
    Hey there! Can you run this command on the server to check and see if there is slack space in the database? mysql -e 'select sum(DATA_FREE) from information_schema.TABLES where TABLE_SCHEMA = "username_database"'
    You can run this directly from SSH without going into the mysql prompt, and you'll just need to update the "username_database" portion of the command so it is checking the correct database.
    0
  • Adarsh Khatri
    Hi Yes, it does show some free:
    0
  • cPRex Jurassic Moderator
    It's possible that could be misleading the disk space calculation tools, although Innodb tables do always have some amount of data_free usage, although that seems like a large amount in your output.
    0

Please sign in to leave a comment.