查看数据库占用空间 SELECT table_schema "Database Name", SUM(data_length + index_length) / 1024 / 1024 "Database Size (MB)" FROM information_schema.tables GROUP BY table_schema;