select concat(round(sum(data_length/1024/1024/1024),2),'GB') from information_schema.tables where table_schema='库名' and table_name='表名';
mysql查看表对应的物理空间
最新推荐文章于 2022-05-12 09:13:54 发布
select concat(round(sum(data_length/1024/1024/1024),2),'GB') from information_schema.tables where table_schema='库名' and table_name='表名';