Monday 9 February 2015

senior oracle dba interview questions and answers

Below are some important Oracle DBA interview questions which are asked in most MNC company interviews for beginners or professionals.

16.    What column differentiates the V$ views to the GV$ views and how?
The INST_ID column which indicates the instance in a RAC environment the information came from.

17.    How would you go about generating an EXPLAIN plan?
Create a plan table with utlxplan.sql. Use the explain plan set statement_id = ‘tst1' into plan_table for a SQL statement. Look at the explain plan with utlxplp.sql or utlxpls.sql

18.     How would you go about increasing the buffer cache hit ratio?
Use the buffer cache advisory over a given workload and then query the v$db_cache_advice table. If a change was necessary then I would use the alter system set db_cache_size command.

19.   Explain an ORA-01555
You get this error when you get a snapshot too old within rollback. It can usually be solved by increasing the undo retention or increasing the size of rollbacks. You should also look at the logic involved in the application getting the error message.

20.      Explain the difference between $ORACLE_HOME and $ORACLE_BASE. - ORACLE_BASE is the root directory for oracle.
ORACLE_HOME located beneath ORACLE_BASE is where the oracle products reside.
More Questions & Answers :-
Page1  Page2  Page3  Page4

No comments:

Post a Comment