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: Changes to RULE based optimizer between Oracle8 and 9i

RE: Changes to RULE based optimizer between Oracle8 and 9i

From: Goulet, Dick <DGoulet_at_vicr.com>
Date: Fri, 30 Jan 2004 09:39:33 -0800
Message-ID: <F001.005DE76C.20040130093933@fatcity.com>










Logic says one thing, experience says another.  Question one, are the tables analyzed?  If so, since RBO is deprecated in 9i even setting OPTIMIZER_MODE=RULE will invoke the CBO.
 

Dick Goulet
Senior Oracle DBA
Oracle Certified 8i DBA

-----Original Message-----
From: Keith Moore [mailto:kmoore7@jcpenney.com]
Sent: Friday, January 30, 2004 11:54 AM
To: Multiple recipients of list ORACLE-L
Subject: Changes to RULE based optimizer between Oracle8 and 9i

We move an application that uses OPTIMIZER_MODE=RULE from Oracle8 to 9i. Most of it is fine, but there are two queries that have a very different execution plan. In one case, the execution time increases from less than a minute to more than an hour. Neither query uses any of the new Oracle 9i features.
 
My understanding is that the Rule optimizer code has not changed, except to account for new features like IOT's. Has anyone else seen this type of behavior?
 
Keith Moore
Oracle Certified Professional
972-431-5126
kmoore7@jcpenney.com
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Goulet, Dick
  INET: DGoulet_at_vicr.com

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 Fri Jan 30 2004 - 11:39:33 CST

Original text of this message

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