SQL> set pagesize 10000
SQL> BREAK ON REPORT
SQL> COMPUTE SUM LABEL TOTAL OF "Size of Each Segment in MB" ON REPORT
SQL> select segment_type, sum(bytes/1024/1024) "Size of Each Segment in MB" from dba_segments where owner='SYS' group by segment_type order by 1;
SEGMENT_TYPE Size of Each Segment in MB
------------------ --------------------------
CLUSTER 41.375
INDEX 274.8125
INDEX PARTITION 76.1875
LOB PARTITION .0625
LOBINDEX 9.625
LOBSEGMENT 32.4375
NESTED TABLE .625
ROLLBACK .375
TABLE 470.875
TABLE PARTITION 92.5
TABLE SUBPARTITION 2
TYPE2 UNDO 12.375
--------------------------
TOTAL 1013.25
SQL> BREAK ON REPORT
SQL> COMPUTE SUM LABEL TOTAL OF "Size of Each Segment in MB" ON REPORT
SQL> select segment_type, sum(bytes/1024/1024) "Size of Each Segment in MB" from dba_segments where owner='SYS' group by segment_type order by 1;
SEGMENT_TYPE Size of Each Segment in MB
------------------ --------------------------
CLUSTER 41.375
INDEX 274.8125
INDEX PARTITION 76.1875
LOB PARTITION .0625
LOBINDEX 9.625
LOBSEGMENT 32.4375
NESTED TABLE .625
ROLLBACK .375
TABLE 470.875
TABLE PARTITION 92.5
TABLE SUBPARTITION 2
TYPE2 UNDO 12.375
--------------------------
TOTAL 1013.25
No comments:
Post a Comment