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: cost

RE: cost

From: Riyaj Shamsudeen <rshamsud_at_jcpenney.com>
Date: Mon, 05 Apr 2004 12:59:33 -0500
Message-id: <002701c41b37$c1414d10$212f200a@rshamsudxp>


*I think*, this is due to optimizer heuristics . First_rows cost model is implemented as an heuristics model and applied over the usual cost comparisons. I have seen optimizer choose a costlier plan because this heuristics was/was not applied.
I wonder what results you would get if you have optimizer_mode set to first_rows in your test case ?
Thanks
Riyaj "Re-yas" Shamsudeen
Certified Oracle DBA

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

From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Cary Millsap Sent: Monday, April 05, 2004 12:35 PM
To: oracle-l_at_freelists.org
Subject: RE: cost

Yep, "bug" is where we're going with it... But we haven't had time yet to go into detail.

Cary Millsap
Hotsos Enterprises, Ltd.
http://www.hotsos.com
* Nullius in verba *

Upcoming events:
- Performance Diagnosis 101: 4/6 Seattle, 5/7 Dallas, 5/18 New Jersey

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

From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Bobak, Mark Sent: Monday, April 05, 2004 12:24 PM
To: oracle-l_at_freelists.org
Subject: RE: cost

Hmm....I should have known, Cary...;-)

I actually had the thought, as I was typing that reply "hmm....*always*, really? Are you sure? Yeah, of course you are, if it's not always choosing the lowest cost, what else could it do....?" Of course, Oracle found a way.....

My first thought, though, would be that this is a bug.....is that where you're going with this? Or is there something more going on? Did 10053 reveal anything interesting?

-Mark

Mark J. Bobak
Oracle DBA
ProQuest Company
Ann Arbor, MI
"Post Hoc Ergo Propter Hoc"



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

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--

Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html

The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If the reader of this message is not the intended recipient, you are hereby notified that your access is unauthorized, and any review, dissemination, distribution or copying of this message including any attachments is strictly prohibited. If you are not the intended recipient, please contact the sender and delete the material from any computer.



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

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--

Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
Received on Mon Apr 05 2004 - 12:59:59 CDT

Original text of this message

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