Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: sql explain plan issue
Other than the fact that the table access step appears in a different
location,
these plans appear identical.
Why it is in a different order I can't explain.
I'm sure someone here knows why, and whether or not it matters.
Jared
Sai Selvaganesan <ssaisundar_at_sbcglobal.net>
Sent by: oracle-l-bounce_at_freelists.org
02/04/2004 11:13 AM
Please respond to oracle-l
To: oracle-l_at_freelists.org cc: Subject: sql explain plan issue
hi
the below is a sql code and explain plan on two environments the first one
is 81.7.3 and the next one is 9i. can someone please point out why there
is a diff
SELECT SQ1_T2.ORG_ID
FROM S_PARTY SQ1_T1, S_ORG_BU SQ1_T2, S_ORG_EXT SQ1_T3
WHERE
(SQ1_T3.INT_ORG_FLG = 'Y') AND (SQ1_T1.ROW_ID = SQ1_T3.PAR_ROW_ID AND SQ1_T2.BU_ID = SQ1_T1.ROW_ID) AND (SQ1_T3.PAR_BU_ID = '0-R9NH')
Execution Plan
5 4 INDEX (RANGE SCAN) OF 'S_ORG_EXT_F13' (NON-UNIQUE) 6 3 INDEX (UNIQUE SCAN) OF 'S_PARTY_P1' (UNIQUE) 7 2 INDEX (RANGE SCAN) OF 'S_ORG_BU_M4' (NON-UNIQUE)
the objects are the same but the plan is different. this is a third party software, hence rule based.
thanks
sai