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

Home -> Community -> Usenet -> c.d.o.server -> Re: Why Adding "+0" Make A Query Run Faster

Re: Why Adding "+0" Make A Query Run Faster

From: Dusan Bolek <pagesflames_at_usa.net>
Date: 20 Jun 2002 00:35:57 -0700
Message-ID: <1e8276d6.0206192335.7645c14a@posting.google.com>


"Roman Mirzaitov" <rmirzaitov_at_kt.kg> wrote in message news:<aergf6$91iti$1_at_ID-127142.news.dfncis.de>...
> Hi,
>
> adding 0 to column means disabling indexes on that column in RBO
> environment.
> That's why you got different explain plans.

No that can't be a reason, because:

  1. He's not using RBO, he's using CBO (on partitioned table, that's the only way).
  2. In both of explains for that column is used INDEX RANGE SCAN, which doesn't seem to me like "disabling indexes".

The change between two of them is that CBO decided to use NESTED LOOP using some partitions instead of HASH JOIN through all partitions.

--
_________________________________________

Dusan Bolek, Ing.
Oracle team leader

Note: pagesflames_at_usa.net has been cancelled due to changes (maybe we
can call it an overture to bankruptcy) on that server. I'm still using
this email to prevent SPAM. Maybe one day I will change it and have a
proper mail even for news, but right now I can be reached by this
email.
Received on Thu Jun 20 2002 - 02:35:57 CDT

Original text of this message

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