adspace


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

Can we use distinct and group by together?

1133


What is the best sql course?

1050


what are aggregate and scalar functions? : Sql dba

1129


what are all the common sql function? : Sql dba

1131


what is schema? : Sql dba

1147


How do I remove duplicates in two columns?

1186


what is bcp? When does it used? : Sql dba

1056


Does group by remove duplicates?

1112


what is sql server agent? : Sql dba

1182


If a cursor is open, how can we find in a pl/sql block?

1238


Do we need to rebuild index after truncate?

1138


Hi am new to PLSQL & facing problems in writing code like in SP, Functions, so any one having some SP coding with in depth explanation please share with me my Email ID suvarnaatsuvarna@rediffmail.com Or taking tanning on this please do contact me

2091


how to use regular expression in pattern match conditions? : Sql dba

1113


Is primary key clustered index?

1019


what is dbms? : Sql dba

1061