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: hinting and the rule based optimizer

RE: hinting and the rule based optimizer

From: Powell, Mark D <mark.powell_at_eds.com>
Date: Thu, 1 Apr 2004 15:47:04 -0500
Message-ID: <564DE4477544D411AD2C00508BDF0B6A1CE0AA8D@USAHM018.amer.corp.eds.com>


Since version 7.3 the presence of any valid hint in the SQL statement other than the RULE hint invoked the CBO even in the absence of statistics. If the db is set to run rule based and there are no hints in the SQL then generating statistics should have no effect on the existing application, but it would provide statistics to support any hinted queries you care to submit.

-----Original Message-----

From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org]On Behalf Of ryan.gaffuri_at_cox.net Sent: Thursday, April 01, 2004 3:04 PM
To: oracle-l_at_freelists.org
Subject: hinting and the rule based optimizer

We have a legacy 8.1.7.3 instance that is in RBO mode. My group does not own it, so we cannot change it to CBO.

When I hint anything from an index to ordered, etc... it switches to the CBO and since nothing is analyzed, it's an even worse plan... Not allowed to analyze the tables either because it's not our property.

Any rules around hinting the RBO in 8.1.7.3? Why would it switch to the CBO from a simple hint? I never use the RBO so please bare with me.



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

-----------------------------------------------------------------
----------------------------------------------------------------
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
Received on Thu Apr 01 2004 - 14:55:00 CST

Original text of this message

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