Find MySQL Database and Table Size

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

Example

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.

Example

MySQL table disk usage

See MySQL

Leave a Reply

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