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: Fri, 23 May 2003 07:31:49 -0800
Message-ID: <F001.005A1760.20030523073149@fatcity.com>


I didn't see the original question. If I did, my answer would be dba_extents and dba_segments, not dba_data_files.

Mladen Gogala
Oracle DBA
Phone:(203) 459-6855
Email:mgogala_at_oxhp.com

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

Vladimir and Mladen , I did try it out myself as I mentioned at the end of my original post, My problem is not with the question but with the answer given in the test. I think its wrong.
  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"" ?

> 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?
>
> ----- Original Message -----
> To: "Multiple recipients of list ORACLE-L" <ORACLE-L_at_fatcity.com>
> Sent: Thursday, May 22, 2003 08:31
>
>
> > 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).
>
>

-- 
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: 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 Fri May 23 2003 - 10:31:49 CDT

Original text of this message

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