Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: objects in a datafile

RE: objects in a datafile

From: Jacques Kilchoer <Jacques.Kilchoer_at_quest.com>
Date: Fri, 04 May 2001 12:21:07 -0700
Message-ID: <F001.002F9B43.20010504104612@fatcity.com>

> -----Original Message-----
> Sent: Thursday, 3 May 2001 10:45 PM
>
> what are the dictionary views required to find the objects in a
> particulr datafile.

Here's an example of a query that will show you all objects having at least one extent in a particular datafile.

select distinct a.owner, a.segment_name, a.partition_name, a.segment_type from dba_extents a, dba_data_files b
where a.file_id = b.file_id
      and b.file_name = '/u02/oradata/testsid/users01.dbf' ;

Of course, the objects may also have extents in other datafiles.



Jacques R. Kilchoer
(949) 754-8816
Quest Software, Inc.
8001 Irvine Center Drive
Irvine, California 92618
U.S.A.
http://www.quest.com Received on Fri May 04 2001 - 14:21:07 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US