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: rm RULE based optimizer != GOOD IDEA

RE: rm RULE based optimizer != GOOD IDEA

From: Michael Fontana <mfontana_at_verio.net>
Date: Mon, 25 Apr 2005 11:01:19 -0500
Message-Id: <20050425160125.EF9E718588F@turing.freelists.org>


What we have found in our shop, where we have tons of purchased products and have just implemented Siebel's first CBO release, is that you have to get down to the nuts and bolts details of your problem queries. Once you do, you will often find that your statistics are flawed, which in turn causes a few (sometimes often critically) poor performing queries.

Some examples -

A batch process loads a million rows to a table but doesn't regenerate stats.

Solution: Stats are stale - there is now an option in the optimizer to detect this and regenerate them.

Cardinality stats are not granular enough for a large, key table.

Solution: Run stats for specific tables with parms to selectively drill down and return the correct information for such tables.

It may be a lot of work, but we've been able to run CBO for several major apps (both in-house and third party) including Siebel, SAP, Peoplesoft and Oracle Apps, without resorting to the RBO rule "copout".

And we've had numerous development consultants try to sneak them in.

We simply won't allow it.

Over the long haul, it will cost still more time and money to repair the downstream damage....

-----Original Message-----

From: oracle-l-bounce_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Post, Ethan
Sent: Friday, April 22, 2005 12:50 PM
To: Lex de Haan; thomas.mercadante_at_labor.state.ny.us; Pete Sharman; Christian Antognini
Cc: oracle-l_at_freelists.org
Subject: RE: rm RULE based optimizer != GOOD IDEA

If you head over to http://channel9.msdn.com you might be able to find a video (a month or two ago I think) which is a tour of SQL Server's automated testing facility, it is pretty impressive.

-----Original Message-----

From: Lex de Haan [mailto:lex.de.haan_at_naturaljoin.nl]=20 Sent: Friday, April 22, 2005 12:39 PM
To: thomas.mercadante_at_labor.state.ny.us; Post, Ethan; 'Pete Sharman'; 'Christian Antognini'
Cc: oracle-l_at_freelists.org
Subject: RE: rm RULE based optimizer !=3D GOOD IDEA

you don't have the faintest idea about the size and complexity of Oracle's
regression tests,
and the frequency they run with ... bug-free software is an utopia.

kind regards,

Lex.
=20



Visit my website at http://www.naturaljoin.nl

--

http://www.freelists.org/webpage/oracle-l

--

http://www.freelists.org/webpage/oracle-l Received on Mon Apr 25 2005 - 12:05:40 CDT

Original text of this message

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