Try
this one
select
distinct e.owner,f.file_name ,e.segment_name from DBA_EXTENTS E ,
DBA_DATA_FILES F
WHERE E.FILE_ID = F.FILE_ID
and f.file_name = '<insert your filename here>'
and e.owner = 'insert the object owner here>'
WHERE E.FILE_ID = F.FILE_ID
and f.file_name = '<insert your filename here>'
and e.owner = 'insert the object owner here>'
HTH
Lee
-----Original
Message-----
From: Guerra, Abraham J [mailto:[EMAIL PROTECTED]]
Sent: 02 July 2002 17:38
To: Multiple recipients of list ORACLE-L
Subject: Object in hot file
From: Guerra, Abraham J [mailto:[EMAIL PROTECTED]]
Sent: 02 July 2002 17:38
To: Multiple recipients of list ORACLE-L
Subject: Object in hot file
Hello Gurus,Does anybody have a script to locate objects/segments within a file? I have a tablespace that spreads into several files, but there is one of this files that is hot. I would like to know which objects reside in this file. The Oracle version is HP 8.1.7-64.All help will be welcome.Thanks.Abraham J. Guerra
Senior Oracle DBA
American Family Insurance
(608) 242-4100 x32026
********************************************************************
The information contained in this communication is
confidential, is intended only for the use of the recipient
named above, and may be legally privileged.
If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination,
distribution, or copying of this communication is strictly
prohibited.
If you have received this communication in error,
please re-send this communication to the sender and
delete the original message or any copy of it from your
computer system. Thank You.