{{tag>howto table size mysql}} ====== How To Get The Size Of A Table In MySQL ====== SELECT TABLE_NAME AS `Table`, ROUND((DATA_LENGTH + INDEX_LENGTH) / 1024 / 1024) AS `Size (MB)` FROM information_schema.TABLES WHERE TABLE_SCHEMA = "" ORDER BY (DATA_LENGTH + INDEX_LENGTH) DESC; ---- ~~DISCUSSION~~