OraMatt: YABAOracle

Yet Another Blog About Oracle

,

Get the Owner, Object Name, Size, Tablespace & Filename for Oracle objects


/* Get the Owner, Object Name, Size, Tablespace & Filename for Oracle objects */

set linesize 120
col "Object Name" format a30

select 
	distinct 
    o.owner "Owner",
    o.object_name "Object Name", 
    (s.bytes/1024/1024)"MB",
    f.tablespace_name "Tablespace",
    f.file_name "File Name"
from 
	dba_data_files f, 
	dba_segments s, 
	dba_objects o 
where 
	f.tablespace_name = s.tablespace_name and s.segment_name = o.object_name and o.owner not in ('SYSTEM','SYSAUX','SYS','SYSMAN')
order by "MB" desc;
	

One response to “Get the Owner, Object Name, Size, Tablespace & Filename for Oracle objects”

  1. refergator repair Avatar

    I believe this is one of the such a lot important information for me.
    And i’m glad studying your article. But want to remark on few normal
    things, The website style is great, the articles is really great : D.
    Good task, cheers

Leave a comment

Navigation

About

I’m Matt and I do Oracle things.