select concat(round(sum(data_length/1024/1024),2),‘MB’) as data from tables where table_schema=‘aaa’ and table_name=‘ccc’;
MySQL查看数据表占用的物理空间
最新推荐文章于 2022-05-12 09:13:54 发布
select concat(round(sum(data_length/1024/1024),2),‘MB’) as data from tables where table_schema=‘aaa’ and table_name=‘ccc’;