Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Examples:
• analyze table EMP estimate statistics sample 50 percent;
• analyze table EMP compute statistics;
• analyze table EMP delete statistics;
Note that before creating a new plan with the same id, you
have to delete all entries from PLAN TABLE (delete from
PLAN TABLE;)
Output:
OPERATION OPTIONS OBJECT_NAME ID PARENT_ID
--------------------- ------- ----------- -- ---------
SELECT STATEMENT 0
FILTER 1 0
MERGE JOIN 2 1
SORT JOIN 3 2
TABLE ACCESS FULL DEPT 4 3
SORT JOIN 5 2
TABLE ACCESS FULL EMP 6 5
TABLE ACCESS FULL SALGRADE 7 1
Some others that are not shown in the output above but which
might be useful in fully describing an execution plan (see also
PLAN TABLE in Oracle Reference Manual):