Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: LBO/CBO
Marc,
Using CHOOSE means, simply put, that Oracle will use CBO if statistics are
available, else it will use RBO.
Either generate statistics (preferred) or use other optimizer mode (e.g.
first_rows, all_rows etc.)
Peter
"Marc Zinzen" <mzinzen_at_genese.de> schreef in bericht
news:3D9437D3.ACE15686_at_genese.de...
> Hi.
>
> PLAN_TABLE_OUTPUT
> --------------------------------------------------------------------------
--Received on Fri Sep 27 2002 - 06:12:10 CDT
>
> --------------------------------------------------------------------
> | Id | Operation | Name | Rows | Bytes | Cost |
> --------------------------------------------------------------------
> | 0 | SELECT STATEMENT
> | 1 | TABLE ACCESS FULL | T_IND_UNT | | | |
> --------------------------------------------------------------------
>
> Note: rule based optimization
> The Problem is the Note at the Bottem. Rule bases optimization.
> I did an alter session set optimizer_mode = choose;
> Still it says rule based. But i want to do this query Cost based.
> Where is the switch????? Does anybody know.
> Marc
>
![]() |
![]() |