Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Cost Based Optimizer

Re: Cost Based Optimizer

From: Grinalds <g.geks_at_konts.lv>
Date: Fri, 11 Dec 1998 11:52:01 +0200
Message-ID: <74qpqj$r3s@news.latnet.lv>


With the large tables you can get real pain in but with CBO (on Oracle 7.3.3). I can prove that.
I would suggest use RULE, and in SELECT statement FROM clause arrange your tables so,that smaller appear first, but the big ones as the last.

>Jerry wrote:
>
>> I have a query against a view that is very slow in RULE, but fast in
cost.
>> But for other reasons I want to run the database in RULE. When I
re-create
>> the view with a /*+ CHOOSE */ hint and run it under RULE mode,
EXPLAIN_PLAN
>> will execute it differently in the database under CHOOSE mode, without
the
>> hint on the view.
>>
>> Is this behavior normal? BTW, all tables have statistics estimated in
both
>> scenarios.
>>
>> Thanks.
>
Received on Fri Dec 11 1998 - 03:52:01 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US