统计Oracle一个表空间中各个segment占用的空间大小
SQL语句参考以下:
select owner,segment_name,segment_type,tablespace_name,sum(bytes)/1024/1024/1024 from dba_segments where tablespace_name='TBS_LDHB' group by owner,segment_name,segment_type,tablespace_name
以上
啦啦啦!!!
SQL语句参考以下:
select owner,segment_name,segment_type,tablespace_name,sum(bytes)/1024/1024/1024 from dba_segments where tablespace_name='TBS_LDHB' group by owner,segment_name,segment_type,tablespace_name
以上