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: MTS&Cost based Optimzer

Re: MTS&Cost based Optimzer

From: Jared Still <jkstill_at_cybcon.com>
Date: Tue, 24 Apr 2001 18:15:44 -0700
Message-ID: <F001.002F1895.20010424175525@fatcity.com>

On Tuesday 24 April 2001 06:15, Rachel Carmichael wrote:

>

> HOWEVER (and this is a biggie) this will not automatically make all your
> queries run faster.

LOL! Most of us here know this, but for the benefit of you that don't, here goes.

If your system is running fine on rule-based optimization, be *very* cautious about changing to cost-based.

Sure, cost-based has lots of bells and whistles, and allows some fine grained control through hints, and is required for certain operations.

But it can bite you when you aren't looking. One gotcha that comes to mind is that you will suddenly get hash joins performed on SQL where nested loops works just fine, and your app's will suddenly go very slowly.

Changing to cost-based requires some planning, testing and familiarization.

Don't just turn it on until you know what you are doing.

Jared

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Jared Still
  INET: jkstill_at_cybcon.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 Tue Apr 24 2001 - 20:15:44 CDT

Original text of this message

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