Tuning SQL with OPTIMIZER_MODE
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.
0