How would you go about generating an EXPLAIN plan?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you open a cluster administrator? : sql server DBA

581


What is fill factor? : sql server DBA

645


You have found corruption in a tablespace that contains static tables that are part of a database that is in NOARCHIVE log mode. How would you restore the tablespace without losing new data in the other tablespaces?

2392


What is a correlated sub-query? : sql server DBA

583


What are the different authentication modes in sql server and how can you change authentication mode? : sql server DBA

558






What is the importance of a recovery model? : sql server DBA

553


which background process invoke at the time of upgradation tell me???

2230


You create a private database link and upon connection, fails with: ORA-2085: connects to . What is the problem? How would you go about resolving this error?

1544


what do you understand by flashback feature of oracle?

560


What are statistics, under what circumstances they go out of date, how do you update them?

1809


how can you connect from 10g user to 11g user??

1681


What is the difference between clustered and non-clustered index? : sql server DBA

546


what do you understand by fine-grained auditing?

634


What are the commands you'd issue to show the explain plan for "select * from dual"?

1730


Does any body has ORACLE Certification Dumps or Materials on 9i DBA, 10G DBA, Internet Application Developer, OCP 8i to 10g DBA Upgrade, Oracle 11i if any body have it, please kindly drop an email to: taruni_2k8@yahoo.com

1727