Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> 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
-- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------Received on Wed Feb 04 2004 - 13:13:38 CST
![]() |
![]() |