Skip to Main Content

Breadcrumb

Question and Answer

Tom Kyte

Thanks for the question.

Asked: January 26, 2001 - 6:29 pm UTC

Last updated: January 05, 2009 - 11:26 am UTC

Version: version 8i

Viewed 1000+ times

You Asked

i m not oracle trained but m planning to be 1.

does the OCP certification has to be renewd every year?
i m going 4 for DBA certification

and Tom said...

Rating

  (22 ratings)

Is this answer out of date? If it is, please let us know via a Comment

Comments

Preparation

Alex, February 04, 2005 - 4:22 pm UTC

Hi,

I was wondering what you (or anyone) would recommend for preparing for the DBA Certified Associate exams. I thought I'd be about to handle it without too much trouble but there's a lot more than I expected. I've been looking at books (OCP Oracle9i DBA Certification Boxed Set) but it got terrible reviews on Amazon. This is the contents of the exams:
</code> http://www.oracle.com/education/certification/objectives/7.html?_template=/ocom/ocom_item_templates/ocom_blank_template_with_site_cat
and
http://www.oracle.com/education/certification/objectives/31.html?_template=/ocom/ocom_item_templates/ocom_blank_template_with_site_cat <code>
If you think your books would suffice that would be great because I have all of them.

Tom Kyte
February 05, 2005 - 5:11 am UTC

I don't know, I've never take those....

but, in reading the first link -- that looks like what I would expect of any database developer after using the database for about 6-12 months. That all looks like "sql basics" (no, i don't cover that, but if you have been using the database for 6-12 months and don't know that, there is a problem.... :)

The second link, read:

the concepts guide
the admin guide
the globalization guide

and understand everything therein and you have what they list there.

Just what I was hoping for....

Alex, February 05, 2005 - 1:12 pm UTC

Because the docs are free....take me a year to read them, but they're free.

For Alex

Muhammad Riaz Shahid, February 06, 2005 - 12:18 am UTC

If you can become a person who knows more than 70% about Oracle (after reading documentation) as comapred to other people, even in 1 year, wouldn't be it a good idea ???



Tom Kyte
February 06, 2005 - 3:14 am UTC

I've said in the past "if you read the concepts guide, retain just 10% of it, you probably already know more than most people do about Oracle..."



For Alex

Muhammad Riaz Shahid, February 07, 2005 - 1:19 am UTC

Alex !

The Knowledge retain limit went down (from 90% to 10%).....What do you think NOW ?

(Y)



reply to Muhammad

Alex, February 07, 2005 - 3:49 pm UTC

It's not that I thought the guides were not useful. I did think they would be

a) Very dry and technical
b) Infinitely long
c) Impossible to navigate

Doesn't seem to be the case from skimming the admin guide. I wanted to look into getting certified to improve my resume (invariably more $). Now I can justify reading them for my own knowledge and to prepare for certs, a two birds with one stone kind of deal. Where as if they were not particularly relevant to the tests I have to take, then I have two choices, read the guides or acquire the necessary tools to become certified. Certification looks great on resume, "I've read the documentation" not so much.

That's were I was coming from anyway.

OCP nothing more than expectation

Bhavesh Ghodasara, May 25, 2005 - 8:14 am UTC

hi Tom,
i am not agree with :
“I thought I'd be about to handle it without too much
trouble but there's a lot more than I expected.”
I also passed out first paper of SQL. And the contents are really basic,,
The syllabus doesn’t contains important features like Analytical functions, For which oracle SQL is really distinguish from other products. And believe me queries also are
Really basic, when I answered the question of 1st paper, I just not believed that questions are that easy. E.g. One of the question is like : Choose DDL statements.
Its really fun to clear that all.
I think it just covers 20-25% SQL only.
Tom doesn’t you think these things damages credentials of OCP??
Agree to know your opinion about it.


Tom Kyte
May 25, 2005 - 8:31 am UTC

I'm not OCP therefore I've never seen the tests...

too much potential for unqualified

Jim, May 25, 2005 - 9:15 am UTC

There is a guy who spams the news groups every couple of months who advertises having someone take the test for you (for a fee). I forwarded this to Oracle Education but never heard anything back. Basically the guy runs a testing center, he is the manager, and he pays people to take the test for you. Not ethical and it does devalue the certification.

read the docs

reader, May 25, 2005 - 9:28 am UTC

As someone who took and scored quite well on all the 9i DBA exams, preparing by reading the actual documentation is the way to go. It will take longer, you will learn much more, and you will be much better at your job because you will not just have the cert that some employer might care about, but you instead will actually have a mental index of everything that the documentation covers, regarldess of whether it is part of the OCP objectives. Knowing what the docs cover, and where to find it is a huge advantage to a developer and dba. Some of the specific syntactic things the exam asks about are worthless (IMHO), but the knowledge you gain from actually knowing the documentation is the greatest reward from the OCP process (assuming you prepare by reading the documentation)

Buying an OCP guide alone would ensure you probably pass the test (since passing requires such a low score), but you will be much better informed, more familiar with the actual docs, and not subject to the volume of errors in the OCP guides if you stick to the docs.


To OCP, or Not to OCP...

Richard, May 25, 2005 - 9:46 am UTC

I have agonized over going for OCP certification, and, after much careful thinking and swaying to-and-fro about it, I have decided that it's not for me. My POV is that I am better off reading the best Oracle literature (not always OCP literature), using the net, and tailoring my (never ending) learning of Oracle to my circumstances.

I think it's a shame that some companies stipulate OCP certification as a prerequisite to interview, as surely the prospective employer should test the candidate themselves? The best candidates may not be those with OCPs, but those who know how to apply their knowledge.

I think OCPs and their ilk probably lead to *cramming and fogetting*, rather than long term retention and application of knowledge and hands-on experience: in other words, it's a bit strange, to my mind, to travel down a fixed path of study, do a few exams and then, *ta-da*, you're a DBA, Developer, whatever.

Also, there is a BIG industry in cheating the exams (usually involving *exam questions for sale* huckster outfits), which, surely, makes the certifications less valuable, anyway.

Finally, the whole OCP thing is the diamond encrusted golden goose for Oracle (e.g. Oracle University courses are super-expensive, and the Jedi-like OCM mandatory courses are second mortgage expensive), so I don't expect Oracle to review the whole OCP idea, anytime soon.

online courses

Cath, May 25, 2005 - 9:46 am UTC

I did the online courses that are available with oracle Education and found them very good. There is a course for each of the exams. They are called OCP - Oracle9i <course name> exam prep.

Blog on Certification

Martin, May 25, 2005 - 10:28 am UTC

Tom,

I would like to read a blog some time on your other site about your opinion on the value of Oracle Certification. Since you are not an OCP yourself I take it you have an opinion on this

A reader, September 06, 2005 - 10:56 am UTC

Hi,

I am planning to take Oracle 10g OCP certification and I am required to attend a training course as part of the certification. Can you please guide me because I want to know which course is good and also how do I find the list of courses offered by Oracle for this purpose. Please help.

Thanks.

Tom Kyte
September 06, 2005 - 8:49 pm UTC

sorry, not I'm not part of OCP, I'm not "OCP" myself.

The best is for free......

A 9i DBA OCP, September 08, 2005 - 7:55 am UTC

I have done the training and passed my final DBA OCP exam early last year..... While the course did give a broad overview of the core topics (with examples) and other useful info - I think overall the certification was overrated.... There was barely a mention of data warehousing, and data guard and RAC were not covered at all (these are covered in other courses)....

I have to agree that holding the certification doesn't mean you are an ace DBA - and alot of employers know this already.... I have found that all employers value skills far more highly than certifications. Admittedly my resume does look better with the OCP logo - but it looks even better still with high-level technical content.

I've found the best high-level technical info comes from more than one source: oracle.tahiti.com (although it does take a long time to read and digest), and askTom..... Other internet sources can also be helpful - but ensure to trawl through askTom and you'll find lots of invaluable stuff that is never mentioned anywhere else....

Rarely do you find that the best is for free.... so put most of your efforts into exploiting these resources.....

am MCA post graduate am looking to go for OCP

srikanth, October 02, 2005 - 11:28 pm UTC

Am MCA graduate,i did Oracle Applications Technical 1i couse,D2K,Oracle9i..pls let me know which certification is suites,i heared that OCP for DBA,right now am not in DBA side,pls let me know the details..regading this...thank you

Alexander the ok, December 07, 2005 - 10:27 am UTC

Hi Tom,

I wanted your opinion on a question my co-worker was asked on one of her final exam for the class she took. The question was, "What data dictionary views are only available when the database is open?" I thought that was pretty useless knowledge and wondered if even you knew that off the top of your head? (No cheating! ;)) I know your on the road sorry for this rather academic question but I am curious what you think.

Tom Kyte
December 08, 2005 - 1:06 am UTC

what data dictionary views aren't only available when the database isn't open?

when the database isn't only, you may only query fixed views (dynamic performance tables)


idle> startup mount;
ORACLE instance started.

Total System Global Area 152114296 bytes
Fixed Size 451704 bytes
Variable Size 117440512 bytes
Database Buffers 33554432 bytes
Redo Buffers 667648 bytes
Database mounted.
idle> select count(*) from v$session;

COUNT(*)
----------
9

idle> select count(*) from all_users;
select count(*) from all_users
*
ERROR at line 1:
ORA-01219: database not open: queries allowed on fixed tables/views only



I would say "no dictionary" until it is opened. I do not consider v$ views "dictionary" views personally - but it would depend on the instructor (since you have to give the answer the test maker is expecting :)

Alexander the ok, December 08, 2005 - 9:18 am UTC

I think you mixed up the question a little, it's:

"What data dictionary views are only available when the database is open?"

And the instructor does count v$views as dictionary, how come you don't? Is it because the underlying tables are dictionary, but not the views themselves?

The fact that you logged into an instance also answers part of my question. If you don't know off the top of your head then nobody will and then you have to ask how useful is it.....

Tom Kyte
December 08, 2005 - 11:44 am UTC

because v$ views are known as dynamic performance view.

dba_
user_
all_

are dictionary views to me.




I hope that's not the actual question

Bob B, December 08, 2005 - 9:43 am UTC

"What data dictionary views are only available when the database is open?"

Seems to be asking which DD views are available when the database is open, but at no other time (the answer would be "none", no?). I think the question should've read:

"Which data dictionary views are available when the database is open?"

Tom Kyte
December 08, 2005 - 11:49 am UTC

depends on what you define "data dictionary" as ;)

Is OCP usefull or not?

Dushan, December 12, 2005 - 5:39 am UTC

Based on our company rules that everybody must have some objectives for next financial year, I have decided (one year ago) to go for the Oracle 9i OCP. There were 4 exams, not so trivial (for 10g two exams only!). Now, after getting an OCP certificate, I have to say that I have learned a lot, especially in areas where I haven't been involved before(e.g. rman).
But there was something what surprised me right after the last exam. Sales person was looking for an OCP, due to on-going bid activities, where customer required at least one OCP person in the team.
OCP is probably more about credibility than knowledge, but the world is as it is.

OCP Exam

Dulal, August 10, 2006 - 6:23 am UTC

Hi Tom,
I wish to purchase sample questions for 10g OCP exam from web and pls tell me which site or comapany's questions are more reliable?


Tom Kyte
August 10, 2006 - 9:31 am UTC

No idea.

OCP exam practice questions

Alan, August 11, 2006 - 5:36 pm UTC

to Dulal:

I have used the practice exams from self-test software two or three times. I thought they were well put together and very useful. However, I haven't used any other practice exams, so I can't compare two company's versions.

juancarlosreyesp@oracleboliviaspecialists.com, September 15, 2006 - 7:09 pm UTC

Hi Tom checking Sun Java certification path, I was thinking could be interesting adding some steps (or specialities) to certification (for prometric).
Oracle Certified Master is too much for me, but if there were like other exams this will be very helpful.
Today I found a friend certified on 9i, who moved to sql server 2005, and told me it was the same, obviously when I asked what was sa function table, he didn't knew about that.
The point is if you get your ocp you get the wrong idea you know all about oracle.
If there would be speciality certification, but a certification to learn important topics of oracle database like oracle advanced plsql, analytics, advanced tuning, etc.
ocps will see they didn't know every thing and have a certification path to get specialities and learn about important topics they didn't learn in initial certifications.

:)

can you explain followin Q #5 ?

A reader, January 04, 2009 - 12:32 pm UTC

I am trying for oca and looking at sample questions, but cant get Q#5 on this oracle provided question, can you help me understand ?


http://www.oracle.com/global/us/education/certification/sample_questions/exam_1z0-047.html

Tom Kyte
January 05, 2009 - 11:26 am UTC

# View the Exhibit and examine the structure of the EMP table. You want to display the names and salaries of only those employees who earn the highest salaries in their departments. Which two SQL statements give the required output? (Choose two.)

   1. SELECT ename, sal
      FROM emp e
      WHERE sal = (SELECT MAX(sal)
      FROM emp
      WHERE deptno = e.deptno);
   2. SELECT ename, sal
      FROM emp
      WHERE sal = ALL (SELECT MAX(sal)
      FROM emp
      GROUP BY deptno);
   3. SELECT ename, sal
      FROM emp e
      WHERE EXISTS (SELECT MAX(sal)
      FROM emp WHERE deptno = e.deptno);
   4. SELECT ename, sal
      FROM emp
      NATURAL JOIN (SELECT deptno, MAX(sal) sal
      FROM emp
      GROUP BY deptno); 



query 1 uses a correlated subquery to find the maximum salary for the given department:

   1. SELECT ename, sal
      FROM emp e
      WHERE sal = (SELECT MAX(sal)
      FROM emp
      WHERE deptno = e.deptno);


conceptually that query is processed like this:

for E in (select * from emp)
loop
   select max(sal) into l_sal from emp where deptno = E.DEPTNO;
   if (l_sal = E.SAL) 
   then
       OUTPUT RECORD;
   end if;
end loop;


so it only outputs records when a record has a salary that matches the high salary for that department.

So, that query is one of the queries that returns the set of employees making the highest salary in their respective department.


Query #2 only would work if the maximum salary in every department was the same:

   2. SELECT ename, sal
      FROM emp
      WHERE sal = ALL (SELECT MAX(sal)
      FROM emp
      GROUP BY deptno);


conceptually, the subquery "select max(sal) from emp group by deptno" would executed. We'd have a set of salaries. Then we would read each row from emp and output that row if and only if the salary in that row equaled EVERY VALUE in that set. Now, the only way it could equal EVERY VALUE in that set would be if the set contained only one distinct value. So, in general, this query would not work to return the highest paid people by deptno.


Query #3

   3. SELECT ename, sal
      FROM emp e
      WHERE EXISTS (SELECT MAX(sal)
      FROM emp WHERE deptno = e.deptno);


that is a silly one. it is equivalent to:

   3. SELECT ename, sal
      FROM emp e


select max( column ) from table - that always returns a row, always. An aggregate without a group by always returns at least and at most one row. So, the where exists is always satisfied...

  1* select ename from emp where exists ( select max(1) from dual where 1=0 )
ops$tkyte%ORA10GR2> /

ENAME
----------
SCOTT
SMITH
ALLEN
WARD
JONES
MARTIN
BLAKE
CLARK
KING
TURNER
ADAMS
JAMES
FORD
MILLER

14 rows selected.



query number 4:

   4. SELECT ename, sal
      FROM emp
      NATURAL JOIN (SELECT deptno, MAX(sal) sal
      FROM emp
      GROUP BY deptno); 



we (conceptually) develop a set that has deptno and the maximum sal. We then natural join this set to the EMP table. Now, a natural join (which no self respecting programmer would ever consider using) joins two sets together by comparing the column names and adding a join condition between every column with the same name.

So, that query is the same as:

select emp.ename, emp.sal
  from emp,
       (select deptno, max(sal) max_sal from emp group by deptno) D
 where emp.deptno = d.deptno
   and emp.sal = d.max_sal


that would again return the set of people in EMP that make the highest salary in their departement.