best value for optimizer_mode
599614Oct 22 2007 — edited Oct 24 2007In 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.