adspace
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
If a cursor is open, how can we find in a pl/sql block?
how many tables will create when we create table, what are they? : Sql dba
what is schema? : Sql dba
Do we need to rebuild index after truncate?
what is dbms? : Sql dba
define sql insert statement ? : Sql dba
what is bcp? When does it used? : Sql dba
how to start mysql server? : Sql dba
how to use regular expression in pattern match conditions? : Sql dba
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
what are the advantages of sql ? : Sql dba
what are aggregate and scalar functions? : Sql dba
Does group by remove duplicates?
Can delete statement be rollbacked?
what is collation? : Sql dba