Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: RBO to CBO

Re: RBO to CBO

From: Christian Antognini <christian.antognini_at_trivadis.com>
Date: Fri, 6 Aug 2004 13:29:29 +0200
Message-ID: <41136b9b@post.usenet.com>

> My short answer based on your ambiguity.
>
> 1. Set up a test server
> 2. Run DBMS_STATS
> 3. Unhint any hinted code
> 4. Test
> 5. Rehint as necessary

Just a refinement to Daniel's list: run DBMS_STATS to gather object statistics AND system statistics

> Be sure to work through various permutations of the
> optimizer_index_caching and optimizer_index_cost_adj
> parameters.

For an OLTP system I'll set OPTIMIZER_MODE to FIRST_ROWS_n (choose n according to your application, usually 10 or 100 is good).

Chris

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Received on Fri Aug 06 2004 - 06:29:29 CDT

Original text of this message

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