select A.tablespace_name , A.segment_type, A.Segment_Name,Sum(A.bytes)/1024/1024 as 占用空间(M) from user_extents A
where A.tablespace_name = 'RAS'
group by A.tablespace_name, A.segment_type, A.segment_name
order by Sum(A.bytes)/1024/1024 desc
where A.tablespace_name = 'RAS'
group by A.tablespace_name, A.segment_type, A.segment_name
order by Sum(A.bytes)/1024/1024 desc