如何查看数据库总量大小

mysql> select concat(round(sum(DATA_LENGTH/1024/1024),2),'MB') as data  from information_schema.TABLES;
+----------+
| data     |
+----------+
| 433.96MB |
+----------+
1 row in set (0.03 sec)

posted @ 2022-11-02 10:15  安生丶  阅读(42)  评论(0编辑  收藏  举报