Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: A bit disappointed in CBO..
andreyNSPAM_at_bookexchange.net (NetComrade) wrote in
news:3e4bc198.693607865_at_nyc.news.speakeasy.net:
> On Thu, 13 Feb 2003 12:58:53 -0000, "Jonathan Lewis"
><jonathan_at_jlcomp.demon.co.uk> wrote:
>> >>The fact that you have to switch to ALL_ROWS to make >>the CBO kick in is a cleare indication that you do not >>have any statistics on any of the tables in the query. >>Consequently, the CBO is using default values, which >>are not suitable for your tables. >> >>NB - if the optimizer mode in the plan from autotrace >>shows "optimizer=CHOOSE", and there are no items >>like "(Cost=15 Card=11 Bytes=187)" in the output, >>then you have no stats and are optimising through >>RBO. >>
My initial SWAG would be
optimizer_index_cost_adj = 30
optimizer_index_caching = 95 Received on Fri Feb 14 2003 - 20:30:05 CST