You can use this query :
mysql> select table_name as 'Table', round(((data_length + index_length) / 1024 / 1024), 2) "Size in MB" from information_schema.tables where table_schema = 'database' and table_name = 'log'; +----------+------------+ | Table | Size in MB | +----------+------------+ | log | 2357.02 | +----------+------------+ 1 row in set (0.00 sec) mysql>
“How to get the sizes of the tables of a mysql database.”Continue reading