SELECT table_schema "Database", ROUND(SUM(data_length + index_length) / 1024 / 1024, 2) "Size (MB)" FROM information_schema.tables GROUP BY table_schema;
来查询数据库大小。SELECT table_schema "Database", ROUND(SUM(data_length + index_length) / 1024 / 1024, 2) "Size (MB)" FROM information_schema.tables GROUP BY table_schema;
来查询数据库大小。Powered By Z-BlogPHP 1.7.3