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: SQL statement with hints or without hints

Re: SQL statement with hints or without hints

From: Tim Gorman <Tim_at_SageLogix.com>
Date: Fri, 12 Apr 2002 18:08:19 -0800
Message-ID: <F001.00443D39.20020412180819@fatcity.com>


I would suggest analyzing everything anyway. If any of the conditions occur which John K was so kind to document earlier (thanks John!), they'll be on CBO whether they like it or not, whether they know it or not.

I think you can prove to them that they are using CBO by looking in V$SQLAREA where there is an OPTIMIZER or OPTIMIZER_MODE column (don't have a book or database to look at right now). That way, RBO won't get the credit for doing what CBO is doing...

Convincing folks to let go of RBO, in spite of the terrible job it has been doing, is still very problematic...

> Thanks Tim,
>
> At-least now I know I shouldn't tell them to start putting hints. This was
> my problem to tell them or not to tell them. This still doesn't solve the
> problem for me though, as everyone is still reluctant to move to CBO. And
> this is exactly where it gets getting complicated.
>
> Raj
> ______________________________________________________
> Rajendra Jamadagni MIS, ESPN Inc.
> Rajendra dot Jamadagni at ESPN dot com
> Any opinion expressed here is personal and doesn't reflect that of ESPN
Inc.
>
> QOTD: Any clod can have facts, but having an opinion is an art!
>

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Tim Gorman
  INET: Tim_at_SageLogix.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 Apr 12 2002 - 21:08:19 CDT

Original text of this message

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