what is explain plan?, given an example...
Answer Posted / shivainduja
An explain plan is a representation of the access path that
is taken when a query is executed within Oracle.
SQL> explain plan for select * from emp2;
Explained.
SQL> select * from table (DBMS_XPLAN.display);
PLAN_TABLE_OUTPUT
-------------------------------------
Plan hash value: 2941272003
--------------------------------------------------------------------------
| Id | Operation | Name | Rows | Bytes | Cost
(%CPU)| Time |
--------------------------------------------------------------------------
| 0 | SELECT STATEMENT | | 15 | 570 | 3
(0)| 00:00:01 |
| 1 | TABLE ACCESS FULL| EMP2 | 15 | 570 | 3
(0)| 00:00:01 |
--------------------------------------------------------------------------
8 rows selected.
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What is the usage of when clause in trigger?
What is mutating error?
Explain the update statement in sql
what is the difference between rownum pseudo column and row_number() function? : Sql dba
Determine if oracle date is on a weekend?
What are the limitations of sql express?
Can we enter data in a table in design view?
What do you understand by exception handling in pl/sql?
Can we join same table in sql?
what are the security recommendations while using mysql? : Sql dba
Is oracel sql developer written in java?
Which is faster union or join?
Explain constraints in sql?
What is sql procedures and functions?
where are cookies actually stored on the hard disk? : Sql dba