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

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

stats and query plans

From: Sai Selvaganesan <ssaisundar_at_sbcglobal.net>
Date: Sun, 10 Aug 2003 11:54:23 -0800
Message-ID: <F001.005C9EEA.20030810115423@fatcity.com>


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: Sai Selvaganesan
  INET: ssaisundar_at_sbcglobal.net

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 - 14:54:23 CDT

Original text of this message

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