Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

best value for optimizer_mode

599614Oct 22 2007 — edited Oct 24 2007
In my production environment we have to move from Rule based optimizer to cost based optimizer . We work with oracle 10g but until now our application before run queries execute an alter session set optimizer_mode=rule.

What is the best value for this parameter?
# FIRST_ROWS(n)
# FIRST_ROWS
# ALL_ROWS
# CHOOSE

We don't know what kind of query users will do. Those queries can retrive all rows or a part of the table.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 21 2007
Added on Oct 22 2007
17 comments
1,089 views