RE: Getting multiple explain plans for 1 sql statement

  • From: "Allen, Brandon" <Brandon.Allen@xxxxxxxxxxx>
  • To: "Allen, Brandon" <Brandon.Allen@xxxxxxxxxxx>, <ryan_gaffuri@xxxxxxxxxxx>, <oracle-l@xxxxxxxxxxxxx>
  • Date: Fri, 29 Sep 2006 10:55:12 -0700

I forgot to mention - there could also be different explain plans for
different child cursors of the same hash_value - check the
"child_number" column, and then check v$sql_shared_cursor to get an idea
of why there are multiple children.


        From: Allen, Brandon 
        Sent: Friday, September 29, 2006 10:54 AM
        To: 'ryan_gaffuri@xxxxxxxxxxx'; oracle-l@xxxxxxxxxxxxx
        Subject: RE: Getting multiple explain plans for 1 sql statement
        It's normal to have multiple rows in v$sql_plan for a given
hash_value - each row represents a single step of the explain plan.  Do
both rows have the same plan_hash_value?

Privileged/Confidential Information may be contained in this message or 
attachments hereto. Please advise immediately if you or your employer do not 
consent to Internet email for messages of this kind. Opinions, conclusions and 
other information in this message that do not relate to the official business 
of this company shall be understood as neither given nor endorsed by it.

Other related posts: