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: CBO irregularity

Re: CBO irregularity

From: Fernando <fernandoluis_at_mac.com>
Date: Mon, 7 Jun 2004 13:26:51 -0700
Message-Id: <021E1C5E-B8C1-11D8-9BB3-000A95A6AB02@mac.com>


Honestly, the only problem would be if the Oracle Optimizer behaved the same way in the Dev and the QA machine!!!

from the Manual (Oracle Perf Management Guide), you can do this (in Oracle9 and 10; not sure if 8 has this, but I guess not):

Statistics can be exported and imported from the data dictionary to user-owned tables. This enables you to create multiple versions of statistics for the same schema. It also enables you to copy statistics from one database to another database. You may want to do this to copy the statistics from a production database to a scaled-down test database.

On Jun 7, 2004, at 12:35 PM, Rick Stephenson wrote:

> The CBO has been nothing short of a pain in the butt to me.  Going
> from Development to QA to a live environment achieves unexpected
> results.  It seems that you never know what you are going to get when
> it comes to an execution plan.  The developers run Oracle on their
> Windows box and the execution path is one way, but when it gets moved
> to a QA environment it chooses another way.  At least with the RULE
> base optimizer you know what you are going to get.
>
>  
>
> Sometimes I think I am the only one with this problem.  How do you
> work this?  Do you always use hints, do you use stored outlines….?
>
>  
>
> Thanks,
>
>  
>
> Rick Stephenson
>
>  



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 Mon Jun 07 2004 - 15:23:40 CDT

Original text of this message

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