1SELECT table_schema "DB Name",
2 ROUND(SUM(data_length + index_length) / 1024 / 1024, 1) "DB Size in MB"
3FROM information_schema.tables
4GROUP BY table_schema;
5
1SELECT table_schema "DB Name",
2 ROUND(SUM(data_length + index_length) / 1024 / 1024, 1) "DB Size in MB"
3FROM information_schema.tables
4GROUP BY table_schema;