Method R Discussion Group

Method R helps developers, DBAs, and decision-makers optimize Oracle-based software in every phase of the software life cycle.

Discuss Method R products, techniques, and events.

Ask new questions or post your own responses.

Reading Explain and Execution Plans - Webinar on 3/27/07

How do we read the eplain/execution plan? From top to bottom OR from bottom to top?
Becky Goodman Send private email
Tuesday, March 27, 2007
 
 
It’s a little bit of both top-down and inside-out-bottom-to-top.  The steps are created top down, however a step can’t complete until all of it’s dependent (or child) steps finish first.

Take this plan:
0 | SELECT STATEMENT
1 |  HASH JOIN
2 |    HASH JOIN
3 |        TABLE ACCESS FULL
4 |        TABLE ACCESS FULL
5 |    TABLE ACCESS FULL

The first step to start is step 1, but it can’t complete until it gets some input on what to hash join together.  When steps are at the same level then they complete in ID order.  So the inner most level is steps 3 and 4.  Step 3 will finish first then step 4.  Now the Hash join on step 2 completes then step 5. Now everything that is need for step 1 to complete is done so step one completes. 

I hope this helps.
Ric Van Dyke Send private email
Thursday, March 29, 2007
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics
 
Discussion Groups Main Page

Powered by FogBugz