[SQL]Table Partition佔用空間大小

Oracle space

SELECT   s.segment_name,
         DECODE(SUM(BYTES), NULL, 0, SUM(BYTES) / 1024 / 1024) mbytes
FROM     dba_segments s
WHERE    s.segment_type = 'TABLE PARTITION'
GROUP BY s.segment_name