Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Inlist Iterator and NULLs *SOLVED*

Re: Inlist Iterator and NULLs *SOLVED*

From: Wolfgang Breitling <breitliw_at_centrexcc.com>
Date: Thu, 31 Jul 2003 08:04:25 -0800
Message-ID: <F001.005C7FE9.20030731080425@fatcity.com>


Beacuse of the outer join, the optimizer had to ignore the inlist predicate and therefore the filter factor for the table became 1 (= all rows), manifested in TB_SEL 1.0000.

At 06:29 AM 7/31/2003 -0800, you wrote:
>Thanks to Wolfgang for spotting the problem. It was not the inlist
>iterator at all but an outer join! The NOT NULL predicate invalidated the
>outer join, so the optimizer was smart enough to make a different
>decision. I am still perplexed as to why the table access information was
>so radically different, but in light of the new finding, an explanation
>can be found.
>
>The lesson learned here is to not to focus on a 'problem' until you fully
>understand the whole situation.
>
>Daniel

Wolfgang Breitling
Oracle7, 8, 8i, 9i OCP DBA
Centrex Consulting Corporation
http://www.centrexcc.com

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Wolfgang Breitling
  INET: breitliw_at_centrexcc.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Thu Jul 31 2003 - 11:04:25 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US