Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: RBO vs CBO
Jennifer wrote:
> Is it true that, even if the OPTIMIZER_MODE is set to RULE, that once
> ANALYZE is performed on a table, the Cost Based Optimizer is invoked
> instead?
>
> If this is not the case, how can I switch to the cost-based optimizer while
> keeping the OPTIMIZER_MODE = RULE in the "init.ora" file?
>
> --
> _________________________________
> Jennifer Champagne
> Decision Academic Graphics Inc.
> Tel: (613) 233-2365 x226
> Email: Jennifer.Champagne_at_DagSoft.com
Open the init.ora and change RULE to CHOOSE.
Restart Oracle
But don't use ANALYZE. Use DBMS_STATS.
Daniel Morgan Received on Tue Sep 17 2002 - 10:48:59 CDT