Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Optimizer change from 8i-9i
Chao
>As Wolfgang said, I think although your autotrace shows RULE
>optimizer, oracle maybe actually using CBO.
>Can you enable SQL Trace and check whether it is actually=20
>parsed by RBO or CBO?
When the CBO is used statistics (Cost, Card and Bytes) are shown...
>By the way, team, anyone aware of some common situlation that
>autotrace can lie to us printing the execution plan and the optimizer
>used?
Yes. When there's an automatic switch from RBO to CBO.=20 E.g. when you want to use partitioned tables with the RBO:
SQL> alter session set optimizer_mode =3D rule;
SQL> select * from sales;
Execution Plan
>Can I ask one more question , about the
>"the index tie-break rule being the only reasonable exception, all
>the other possibilities are a bit far fetched IMO"
What do you mean???
HTH
Chris
-- http://www.freelists.org/webpage/oracle-lReceived on Wed May 11 2005 - 10:01:11 CDT
![]() |
![]() |