muza4935
5/24/2018 - 10:46 PM

Size of all DBs

SELECT table_schema "DB",
        ROUND(SUM(data_length + index_length) / 1024 / 1024, 1) "SizeMB" 
FROM information_schema.tables 
GROUP BY table_schema
order by "SizeMB" desc;