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
How does stored procedure reduce network traffic?
Write a sql query to find the names of employees that begin with ‘a’?
How do I view tables in mysql?
What is delimiter in pl sql?
how to use 'mysql' to run sql statements? : Sql dba
Why is %isopen always false for an implicit cursor?
What are the constraints available in sql?
Why do we use joins in sql?
what are the differences between binary and varbinary? : Sql dba
Define concurrency control. : Transact sql
Enlist the characteristics of pl/sql?
What is pl sql quora?
How do I view a sql database?
Is primary key is clustered index?
Can we commit inside a trigger?