Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: [Q] how to check objects on which data file?
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.
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).
--
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