Hello,
Just add in your initSID.ora :
OPTIMIZER_MODE = RULE
However, be aware that since 9i, Oracle strongly recommends to use the cost_based optimizer instead of the rule-based one. In Oracle 9i doc :
Quote:
Note: Oracle Corporation strongly advises the use of cost-based optimization. Rule-based optimization will be deprecated in a
future release.
|
If you just want to use the rule-based optimizer for some specific queries, you can just add hints to your queries to tell Oracle to do so :
SELECT /*+ RULE */ ... FROM ...
Regards,
RBARAER