oracle之SQL语句查询某个表所占物理空间大小
Sql代码
select bytes B, bytes/1024 KB, bytes/1024/1024 MB from
user_segments s where s.oracle账号segment_name='TAB_PUB_CALLLOG';
www.2cto.com
结果如下:
B KB MB
———- ———- ———-
65536 64 0.0625
www.2cto.com
备注:表名要大写
oracle之SQL语句查询某个表所占物理空间大小
Sql代码
select bytes B, bytes/1024 KB, bytes/1024/1024 MB from
user_segments s where s.oracle账号segment_name='TAB_PUB_CALLLOG';
www.2cto.com
结果如下:
B KB MB
———- ———- ———-
65536 64 0.0625
www.2cto.com
备注:表名要大写