Quantcast
Channel: Answers for "Cost based optimizer (CBO) question?"
Viewing all articles
Browse latest Browse all 4

Answer by KillerDBA

$
0
0

According to this, if you're on 10g, the cost-based optimizer is the only optimizer:

TechRepublic

so it's "enabled" by default.

I also found this, referring to the 8i release:

Oracle-Base

which says:

Rule Based Optimizer (RBO) - This method is used if the server has no internal statistics relating to the objects referenced by the statement. This method is no longer favoured by Oracle and will be desupported in future releases.
and
Cost Based Optimizer (CBO) - This method is used if internal statistics are present. The CBO checks several possible execution plans and selects the one with the lowest cost, where cost relates to system resources.

So, it seems that you will use CBO in earlier releases than 10g, if you gather stats.


Viewing all articles
Browse latest Browse all 4

Trending Articles