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
Can we use distinct and group by together?
What is the best sql course?
what are aggregate and scalar functions? : Sql dba
what are all the common sql function? : Sql dba
what is schema? : Sql dba
How do I remove duplicates in two columns?
what is bcp? When does it used? : Sql dba
Does group by remove duplicates?
what is sql server agent? : Sql dba
If a cursor is open, how can we find in a pl/sql block?
Do we need to rebuild index after truncate?
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
how to use regular expression in pattern match conditions? : Sql dba
Is primary key clustered index?
what is dbms? : Sql dba