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: rahul sharma <rahul_at_infotech.co.id>
Date: Mon, 21 Apr 2003 19:31:36 -0800
Message-ID: <F001.00586874.20030421193136@fatcity.com>


select A.segment_name,A.segment_type,
B.name
from dba_segments A, v$datafile B
where A.header_file = B.file#
and A.owner='SCOTT'
/

> Mike
> The hierarchy is a tablespace can hold one or more tables. A tablespace
> is comprised of one or more datafiles. You could join user_tables to
> dba_data_files, using the tablespace. But if there is more than one
> datafile, you can't be assured which datafile your table is being stored
in.
>
> Dennis Williams
> DBA, 40%OCP, 100% DBA
> Lifetouch, Inc.
> dwilliams_at_lifetouch.com
>
>
> -----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).
> -- Please see the official ORACLE-L FAQ: http://www.orafaq.net
> -- Author: DENNIS WILLIAMS INET: DWILLIAMS_at_LIFETOUCH.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).
>
>
>
>
>
> Joseph S Testa
> Chief Technology Officer
> Data Management Consulting
> p: 614-791-9000
> f: 614-791-9001
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> --
> Author: Joseph S Testa
> INET: jtesta_at_dmc-it.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).
>
>

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: rahul sharma
  INET: rahul_at_infotech.co.id

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 - 22:31:36 CDT

Original text of this message

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