查看数据库使用大小
2017-05-03 本文已影响0人
花钱约下
<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>