-- 테이블 단위 사이즈 /* 테이블 사이즈 */ SELECT OWNER , SEGMENT_NAME , TABLESPACE_NAME , BYTES / 1024 / 1024 AS MB , SEGMENT_TYPE FROM DBA_SEGMENTS WHERE SEGMENT_TYPE = 'TABLE' AND SEGMENT_NAME = 'TEST_TABLE' UNION ALL /* 인덱스 사이즈 */ SELECT OWNER , SEGMENT_NAME , TABLESPACE_NAME , BYTES / 1024 / 1024 AS MB , SEGMENT_TYPE FROM DBA_SEGMENTS WHERE SEGMENT_TYPE = 'INDEX' AND SEGMENT_NAME LIKE 'TEST_TABLE%'