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: exam question

RE: exam question

From: Gogala, Mladen <MGogala_at_oxhp.com>
Date: Thu, 22 May 2003 01:41:42 -0800
Message-ID: <F001.0059F8B0.20030522014142@fatcity.com>


That's probably going to be our future colleague. If he gets OCP, he might even beat some of the people from this list to a DBA position. OCP is very much loved by HR departments.

-----Original Message-----
Sent: Thursday, May 22, 2003 4:07 AM
To: Multiple recipients of list ORACLE-L

Why don't you try it yourself?

> Hi all
> here is a question
>
>
> Q. You need to determine the amount of space currently used in each
> tablespace.
> You can retrieve this information in a single SQL statment using only one
> DBA view in the FROM clause providing you use either the _______ or



> DBA view.
>
> A.DBA_EXTENTS.
>
> B.DBA_SEGMENTS.
>
> C.DBA_DATA_FILES.
>
> D.DBA_TABLESPACES.
>
> I was thinking that dba_extents and dba_segments would be the correct
answer
> because i could use :
> select tablespace_name, sum(bytes) from dba_extents group by
tablespace_name
> ;
>
> select tablespace_name, sum(bytes) from dba_segments group by
> tablespace_name;
>
>
>
> But The answer given says dba_extents and dba_data_files. Is the given
> answer wrong or is there some way of finding out from dba_data_files how
> much space is used up in a tablespace
>
> For that matter what does the question want to know ? does it want to know
> how much space do the tablespaces have ( that would be the sum of the
sizes
> of the data files ) or how much is ""used up"" ?
>
>
>
>
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> --
> Author: <bulbultyagi_at_now-india.net.in
> INET: bulbultyagi_at_now-india.net.in
>
> 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: Vladimir Barac
  INET: vladob_at_aster.si

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: Gogala, Mladen
  INET: MGogala_at_oxhp.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 Thu May 22 2003 - 04:41:42 CDT

Original text of this message

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