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
how to include character strings in sql statements? : Sql dba
Is pl sql still used?
How do I count duplicates in sql?
What does sign mean sql?
Which data type is a composite type?
Does truncate remove indexes?
Which tcp/ip port does sql server run?
How do I add a primary key to a table?
What is the difference between cluster and non-cluster index?
Can 2 queries be executed simultaneously in a distributed database system?
what is a control file ? : Sql dba
How do I start pl sql?
What is the difference between in and between in sql?
What are the two parts of design view?
What does pl sql stand for?