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: CBO choses wrong path - why???

Re: CBO choses wrong path - why???

From: Shabble <gbarbour_at_baesystemsdotcom>
Date: Fri, 8 Apr 2005 10:00:14 +0100
Message-ID: <4256464f$1_1@glkas0286.greenlnk.net>

"Vsevolod Afanassiev" <vafanassiev_at_yahoo.com> wrote in message news:1112921821.121560.214430_at_z14g2000cwz.googlegroups.com...
> I have a strange case of CBO chosing path that does not make any sense.
> In the simplified form the query is
>
> select * from TabA where col1 = :b1 order by ID;
>

One possiblity is that the EXPLAIN_PLAN cannot detect or identify casting problems. Is the bind variable of the correct type when it's input? CHAR, VARCHAR2 etc.
Shabs. Received on Fri Apr 08 2005 - 04:00:14 CDT

Original text of this message

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