SELECT table_name AS "system_table", ROUND(((data_length + index_length) / 1024 / 1024), 2) AS "表大小(MB)" FROM information_schema.TABLES WHERE table_schema = "mydb" AND table_name = "system_table";
MySQL 查询表大小
最新推荐文章于 2024-08-13 15:52:52 发布