what is explain plan?, given an example...

Answer Posted / rajesh venati

this will also work.

An Explain Plan is a tool that you can use to have Oracle
explain to you how it plans on executing your query.

ex:-
SQL> set autotrace on explain
SQL> select * from emp;

Execution Plan
----------------------------------------------------------
Plan hash value: 3956160932

--------------------------------------------------------------------------
| Id | Operation | Name | Rows | Bytes | Cost
(%CPU)| Time |
--------------------------------------------------------------------------
| 0 | SELECT STATEMENT | | 14 | 518 | 3
(0)| 00:00:01 |
| 1 | TABLE ACCESS FULL| EMP | 14 | 518 | 3
(0)| 00:00:01 |
--------------------------------------------------------------------------

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is schema in sql example?

704


What pl/sql package consists of?

734


What is meant by cursor in sql?

628


Which one is faster ienumerable or iqueryable?

570


Is sql database free?

624






What is sqlexception in java?

647


What are the advantages of indexing?

625


what is csv? : Sql dba

669


What is trigger in pl sql?

641


What is sql exception?

622


Is it possible to pass parameters to triggers?

664


What is crud stand for?

664


Can we use insert statement in function?

617


What is %type in pl sql?

626


what is the difference between delete and truncate statement in sql? : Sql dba

650