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: RULE versus CHOOSE

RE: RULE versus CHOOSE

From: John Kanagaraj <john.kanagaraj_at_hds.com>
Date: Fri, 06 Jul 2001 13:57:16 -0700
Message-ID: <F001.0034399E.20010706140646@fatcity.com>

Vivek,

In addition to Jon's excellent note, may I add that IOTs and Partitioned tables *will* need statistics. Missing stats will result in a guesstimate based on some parameters and queries involving such tables will take the wind out of the Development head's sail....

>> NOTE - At a Customer's Database , Our Development Section
>Head wants to
>> set optmizer_mode=RULE & keep it so . His Reasons :-
>> - The path of the optimizer is more predictable when set to RULE
>> - Any under-performance Issues would be Handled by Giving HINTS etc
>> rather than Allowing the Optimizer to Choose / Compute it's own Path
>> which may be a BAD One .
>> - A Correct Path being Taken Today may in Time get
>Automatically Changed
>> to a Worse Path somewhere in future (with the Stats getting
>OLD etc.) .
>> - Lastly his Team will Take Responsibility for Any Performance Issues
>> arising out of a Code underperforming .

Incorrect understanding and implementation of the CBO in preceeding years kept many away from it (including myself). This is probably the reason for the reluctance with this Team lead. Since he is willing to take responsibility, I would suggest that you set 'RULE', but collect stats anyway. Use these with badly performing queries and use these to 'convert' him..

John Kanagaraj

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: John Kanagaraj
  INET: john.kanagaraj_at_hds.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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 Fri Jul 06 2001 - 15:57:16 CDT

Original text of this message

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