WARNING- These segments > 70% of MAX EXTENT (DBA_SEGMENTS)


column Tablespace format a30
column Segment format a40
column Used format 9999
column Max format 9999
select tablespace_name "Tablespace",
 owner "Owner",
 segment_name "Segment",
 extents "Used",
 max_extents "Max"
 from sys.dba_segments
 where (extents/decode(max_extents,0,1,max_extents))*100 > 70
 and max_extents >0;
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: