如何查看统计单张表占用的存储空间4.0.0

【 使用环境 】测试环境
【 OB or 其他组件 】
【 使用版本 】4.0.0
【问题描述】如何查看统计单张表占用的存储空间
【复现路径】
【问题现象及影响】

【附件】

select table_schema as ‘数据库’, table_name as ‘表名’, table_rows as ‘记录数’, truncate(data_length/1024/1024/1024, 2) as ‘数据容量(GB)’, truncate(index_length/1024/1024/1024, 2) as ‘索引容量(GB)’ from information_schema.tables where table_schema=‘test’ order by table_rows desc, data_length desc;