Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Urgent problem with query in CBO Vs RBO
What happens if you use the Rule hint? Inquiring minds would like to know....
Jerry Whittle
ACIFICS DBA
NCI Information Systems Inc.
jerome.whittle_at_scott.af.mil
618-622-4145
> -----Original Message-----
> From: Jamadagni, Rajendra [SMTP:Rajendra.Jamadagni_at_espn.com]
>
> Thanks ...
>
> so far Oracle had completely understood the problem and looks like we may be hitting some bug in CBO. I am awaiting the bug#, I don't know that yet.
>
> The same query works fine if I do a 'alter session set optimizer_mode=rule'; though ..
>
> Raj
> ______________________________________________________
> Rajendra Jamadagni MIS, ESPN Inc.
> Rajendra dot Jamadagni at ESPN dot com
> Any opinion expressed here is personal and doesn't reflect that of ESPN Inc.
> QOTD: Any clod can have facts, but having an opinion is an art!
>
>
> -----Original Message-----
> From: Stephane Faroult [<mailto:sfaroult_at_oriole.com>]
> > "Jamadagni, Rajendra" wrote:
> >
> > Okay ... so I have a query that works fine in RBO (8161). In CBO
> > (9201) is returns wrong results (stats are recreated this AM). By
> > adding a group by the CBO query returns the right data.
> >
> > Furthermore on CBO, the explain plan shows that Oracle is not even
> > parsing the query completely. If drops off a huge EXISTS clause.
> >
> > Does anyone know what is going on? I have a sev 1 tar open and waiting
> > for OWS to call me.
> >
> > Raj
>
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Whittle Jerome Contr NCI INET: Jerome.Whittle_at_scott.af.mil 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 Wed Oct 16 2002 - 16:26:30 CDT
![]() |
![]() |