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: [Q] how to check objects on which data file?

RE: [Q] how to check objects on which data file?

From: Nelson, Allan <anelson_at_midf.com>
Date: Mon, 21 Apr 2003 10:11:46 -0800
Message-ID: <F001.00586098.20030421101146@fatcity.com>


Join with dba_segments, in particualar with header_file. You'll get a file number here for the header which you can reference back to to dba_data_files or v$datafile at your discretion. Remember that Oracle does not maintain a given object all in one data file all the time. If you want the exhaustive list of files you'll have to look at the block header. Alternatively the row id's also encode this information.

Allan

-----Original Message-----
Sent: Monday, April 21, 2003 11:47 AM
To: Multiple recipients of list ORACLE-L

We have ORACLE 8.1.7 database running. I know I can select
"user_tables" or "user_tablespaces" to check objects on which
tablespace. If this tablespace have several data files, is it possible I
can check objects on which data files?

Thanks.



Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo http://search.yahoo.com
--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author: mike mon
  INET: mccdba_at_yahoo.com
Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).

This email is intended solely for the person or entity to which it is addressed and may contain confidential and/or privileged information. Copying, forwarding or distributing this message by persons or entities other than the addressee is prohibited. If you have received this email in error, please contact the sender immediately and delete the material from any computer. This email may have been monitored for policy compliance. [021216]

--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author: Nelson, Allan
  INET: anelson_at_midf.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Mon Apr 21 2003 - 13:11:46 CDT

Original text of this message

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