Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: exam question
On Thu, 22 May 2003, Vladimir Barac wrote:
> Why don't you try it yourself?
Umm, he pretty much did try it himself. His questions really are, "Isn't this exam question unclear and idiotic? How are you supposed to pass the exam if the exam qriters lack basic skills of rational thought?"
The answers are yes and I don't know.
-- Jeremiah Wilton http://www.speakeasy.net/~jwiltonReceived on Thu May 22 2003 - 05:01:41 CDT
> ----- Original Message -----
> To: "Multiple recipients of list ORACLE-L" <ORACLE-L_at_fatcity.com>
> Sent: Thursday, May 22, 2003 08:31
>
> > 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: Jeremiah Wilton INET: jwilton_at_speakeasy.net 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).