oracle之SQL语句查询某个表所占物理空间大小

select bytes B, bytes/1024 KB, bytes/1024/1024 MB from user_segments s where s.segment_name='TAB_PUB_CALLLOG';


结果如下:

         B         KB         MB
---------- ---------- ----------
     65536         64     0.0625


备注:表名要大写

猜你喜欢

转载自songjianyong.iteye.com/blog/1766753