<pre>
use information_schema;
select concat(round(sum(DATA_LENGTH/1024/1024),2),'MB') as data from TABLES where table_schema='数据库名称';
</pre>
<pre>
use information_schema;
select concat(round(sum(DATA_LENGTH/1024/1024),2),'MB') as data from TABLES where table_schema='数据库名称';
</pre>
本文标题:查看数据库使用大小
本文链接:https://www.haomeiwen.com/subject/bgektxtx.html
网友评论