Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> What use is OCP ?
Have any of you received the Sept/Oct issue of Oracle Magazine ? Have you read the article by the Certification Director for OCP ? Would you like to see a few questions, answers, and comments about DBA fundamentals.
Question 1:
Answer 1:
"On my database, I can check this by querying
v$buffer_pool for LO_SETID which is 3"
Why does the working data set of the default
buffer pool prove anything about the number of
granules ? If I have a KEEP and RECYCLE pool,
the LO_SETID of the db_keep_cache_size is 1,
the LO_SETID of the db_recycle_cache_size is 2.
We also hear: "if the SGA_MAX_SIZE is less than 128M then the granule size is 4M, otherwise it is 16M" - perhaps he hasn't found that note on Metalink about granules of 8M on Windows 2K.
Anyway - what's the point of asking someone about the notional minimum SGA of 3 granules (12MB) ? The executable is about 60M, and I'm not trying to run the thing on my cell-phone !
Question 2:
a) sga_max_size b) shared_pool_size c) db_cache_size d) large_pool_size e) log_buffer
Well, since the SGA_MAX_SIZE is the thing that is supposed to be the absolute limit on the number of granules you can allocate to the others it clearly has to be the other four. After all, you're not really 'affecting' the size of something if all you doing is stopping it from getting any bigger !
Answer 2
We also read "The sga_max_size is determined by the size of the other memory structures". Well, yes, if you let it default - but the sga_max_size is the thing you are supposed to set (if you are being a good DBA) so that you can vary the others at need.
Question 3:
a).... b)... c) alter system set shared_pool_size 20m; d) alter system set shared_pool_size = 20m;
Answer 3:
alter system set shared_pool_size 20m
ORA-00927: missing equal sign *
I don't care if the DBA doesn't remember that there is supposed to be an equal sign - if he can't spot the problem when Oracle gives him the error message he probably never got past filling in the application form for the interview.
Question 4:
a) db_file_create_dest b) db_file_name_convert c) db_files d) db_create_online_log_dest_n
Answer 4:
wait a moment - there's no such parameter as
db_create_online_log_dest_n. There is db_create_online_log_dest_1, db_create_online_log_dest_2, db_create_online_log_dest_3, db_create_online_log_dest_4, db_create_online_log_dest_5,
Is this hair-splitting - well if 3C is definitely wrong because of an '=' is it safe to assume that 4D is right when it has a letter instead of a number ?
Of course, the article does continue to point out that in fact "you can set either or both". Of course the Database reference manual happens to say that there is no default value for db_create_file_dest, so I thought I'd have a go creating a database with just db_create_online_log_dest_1 - did it work ? Yes - but it built the data files in $ORACLE_HOME/dbs, which isn't really the ideal place for them.
So I have learnt something today.
-- Regards Jonathan Lewis http://www.jlcomp.demon.co.uk Next Seminar dates:Received on Fri Sep 27 2002 - 09:18:14 CDT
(see http://www.jlcomp.demon.co.uk/seminar.html )
____England______September 24/26, November 12/14 ____USA__________November 7/9 (MI), 19/21 (TX) The Co-operative Oracle Users' FAQ http://www.jlcomp.demon.co.uk/faq/ind_faq.html