SELECT SEGMENT_NAME, OWNER, round(sum(BYTES) / 1e6, 0) AS SIZE_MB FROM DBA_SEGMENTS WHERE TABLESPACE_NAME = 'tbs_name' GROUP BY SEGMENT_NAME, OWNER ORDER BY SIZE_MB DESC;