Objects and Datafiles


SELECT DISTINCT DBA_EXTENTS.owner, dba_extents.segment_name, DBA_SEGMENTS.SEGMENT_TYPE, file_name FROM DBA_EXTENTS , DBA_DATA_FILES , DBA_SEGMENTS
 WHERE DBA_EXTENTS.file_id IN ( SELECT file_id FROM DBA_DATA_FILES WHERE tablespace_name='TXT_ANAR' ) AND
 DBA_EXTENTS.FILE_ID=DBA_DATA_FILES.FILE_ID AND
 DBA_SEGMENTS.OWNER=DBA_EXTENTS.owner AND
 DBA_SEGMENTS.SEGMENT_NAME=DBA_EXTENTS.SEGMENT_NAME
 ORDER BY file_name

—– /*TXT_ANAR */—- tablespace name

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: