Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: CBO irregularity
If I could have that, OWS was ready to work on it ... The SQL involves 5
tables (with thousands of rows) and a dynamically generated SQL ...
Unfortunately it was way too difficult to generate a simple reproducible
test case, trust me I tried for 2.5 days ... But couldn't do it.
Raj
-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Niall Litchfield
Sent: Wednesday, June 09, 2004 10:47 AM
To: oracle-l_at_freelists.org
Subject: Re: CBO irregularity
Not *another* CURSOR_SHARING=SIMILAR|FORCE issue? I really don't want to hear that..
You don't happen to have a reproducible test case?
-- Niall Litchfield Oracle DBA http://www.niall.litchfield.dial.pipex.com On Wed, 9 Jun 2004 10:20:39 -0400, Jamadagni, Rajendra <rajendra.jamadagni_at_espn.com> wrote:Received on Wed Jun 09 2004 - 09:53:00 CDT
>
> We have a specific sql which has decode statement with non-db values
...
> It makes things go wring with CBO and returns wrong data. Using RBO or
> cursor_sharing=exact resolves the problem
---------------------------------------------------------------- Please see the official ORACLE-L FAQ: http://www.orafaq.com ---------------------------------------------------------------- To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line. -- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------