How would you go about generating an EXPLAIN plan?
Answers were Sorted based on User's Feedback
Answer / daid kumar
The EXPLAIN PLAN statement displays execution plans chosen
by the Oracle optimizer for SELECT, UPDATE, INSERT, and
DELETE statements.
Run This Script To create Plan Table
$ORACLE_HOME/rdbms/admin/UTLXPLAN.SQL
Then Write like this
SQL> EXPLAIN PLAN FOR
SELECT name FROM emp;
Now to see O/P u can select * from "plan_table"
Is This Answer Correct ? | 9 Yes | 1 No |
Answer / bharath
explain plan for select * from t1 where num_col = '1';
select * from table(dbms_xplan.display);
Is This Answer Correct ? | 2 Yes | 1 No |
Other than making use of the statspack utility, what would you check when you are monitoring or running a health check on an Oracle 8i or 9i database?
You're getting high "busy buffer waits" - how can you find what's causing it?
Can we take incremental backups in datapump?
I have kept recovery catalog on same target database and taken backup of target DB to disk. deleted the target DB & tried to restore and revoer DB using the backup on disk but it is not possible, how do we restore & recover DB
What view(s) do you use to associate a user's SQLPLUS session with his o/s process?
What are the ways tablespaces can be managed and how do they differ?
What are the differences in clustering in sql server 2005 and 2008 or 2008 r2? : sql server DBA
What are statistics, under what circumstances they go out of date, how do you update them?
An automatic job running via DBMS_JOB has failed. Knowing only that "it's failed", how do you approach troubleshooting this issue?
What are the different ways you can create databases in sql server? : sql server DBA
What is the difference between Datapump & export/import?
What's the benefit of "dbms_stats" over "analyze"?