1、表占用空间:select segment_name, sum(bytes)/1024/1024 MB from user_segments where segment_type='TABLE' group by segment_name;
2、索引占用空间:select segment_name ,sum(bytes)/1024/1024 MB from user_segments where segment_type ='INDEX' group by segment_name;
3、分区表TABLE PARTITION占用空间:select segment_name,sum(bytes)/1024/1024 MB from user_segments where segment_type='TABLE PARTITION' group by segment_name;