运行此查询,您可能会找到所需的内容:
SELECt table_schema "DB Name", ROUND(SUM(data_length + index_length) / 1024 / 1024, 1) "DB Size in MB" FROM information_schema.tables GROUP BY table_schema;
该查询来自mysql论坛,那里提供了更全面的说明。

运行此查询,您可能会找到所需的内容:
SELECt table_schema "DB Name", ROUND(SUM(data_length + index_length) / 1024 / 1024, 1) "DB Size in MB" FROM information_schema.tables GROUP BY table_schema;
该查询来自mysql论坛,那里提供了更全面的说明。