SELECT TABLE_NAME AS `Table`, ROUND((DATA_LENGTH + INDEX_LENGTH) / 1024 / 1024) AS `Size (MB)` FROM information_schema.TABLES WHERE TABLE_SCHEMA = "db" ORDER BY (DATA_LENGTH + INDEX_LENGTH) DESC;
select table_name as 'tableName', round(data_length+index_length)/1024/1024 as sizeMB from information_schema.tables where table_schema='db' order by sizeMB;