This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
COLUMN TABLE_NAME FORMAT A32 | |
COLUMN OBJECT_NAME FORMAT A32 | |
COLUMN OWNER FORMAT A10 | |
SELECT | |
owner, table_name, TRUNC(sum(bytes)/1024/1024) Meg | |
FROM | |
(SELECT segment_name table_name, owner, bytes | |
FROM dba_segments | |
WHERE segment_type = 'TABLE' |