Find MySQL Database and Table Size

To find size of database using SQL command, run following SQL in MySQL promt.


MySQL database disk usage

FInd disk usage by tables

To find disk usage by tables in database, run

In above SQL, replace DB_NAME_HERE with actual name of the database.


MySQL table disk usage


Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *