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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: stats and query plans

Re: stats and query plans

From: Tanel Poder <tanel.poder.003_at_mail.ee>
Date: Sun, 10 Aug 2003 12:04:24 -0800
Message-ID: <F001.005C9EEF.20030810120424@fatcity.com>


Hi!

It's probably because your optimizer_* parameters aren't configured properly. Check http://www.evdbt.com/SearchIntelligenceCBO.doc

Tanel.

  hi

  a very basic question

  i have faced this issue a few times in the last couple of weeks. we have a few queries that seem to run remarkable well in rule based optimisation than in choose based optimisation. the queries, with all the object stats collected upto date, never returns a result while when i deleted all stats it returns a result in no time.The plans are diffrent and w/o stats indexes are being used.

  when this happens in the same system what are the things i should check. is it not recommended that oracle CBO is the best way to go in performance tuning and query optimisations.then how come rule based turns out to be efficient.surely i havent generated 10053 trace and gone through it but it doesnt make sense why CBO falters. Logically speaking when rule based path gives a result,CBO should choose that explain plan.

  can someone throw some light on this

  thanks
  sai

--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author: Tanel Poder
  INET: tanel.poder.003_at_mail.ee

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Sun Aug 10 2003 - 15:04:24 CDT

Original text of this message

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