Database Tuning (MOSC)

MOSC Banner

Tuning SQL with OPTIMIZER_MODE

edited Mar 25, 2012 10:07PM in Database Tuning (MOSC) 6 commentsAnswered
 Hi all,
   My Oracle version 9.2.0.4

   I read about OPTIMIZER_MODE parameter and I care about two values are: CHOOSE (default value) and ALL_ROWS.

   Difference between them is CHOOSE made oracle view statistics of objects in statement to use Cost-Based or Rule-Based. ALL_ROWS use Cost-Based and regardless of the presence of statistics.

   I saw some db server with 11g use ALL_ROWS but 9i is CHOOSE. I think that choosing ALL_ROWS is better for statements, am I right ?

   Thanks.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center