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: SQL Cost Compared To Elapsed Time

Re: SQL Cost Compared To Elapsed Time

From: Connor McDonald <mcdonald.connor_at_gmail.com>
Date: Thu, 20 Apr 2006 21:39:39 +0800
Message-ID: <5e3048620604200639n5470b6a3k72d247120ec1b90@mail.gmail.com>


On 4/20/06, Tanel Põder <tanel.poder.003_at_mail.ee> wrote:
>
> Interesting idea :)
>
> One thing is that if you find a query with high elapsed time to cost unit,
> it doesn't necessarily mean that the execution plan itself is suboptimal,
> maybe just other factors are affecting the execution, e.g. CBC latch
> contention, very little cached blocks etc..
>
> Tanel.
>
>

The other thing is that if any SQL runs bad, it doesn't mean the plan is wrong. A "crappy" plan is optimal, if the alternative plans available are "more crappy", "very crappy" and "extremely crappy".

Cheers
Connor

--
Connor McDonald
===========================
email: connor_mcdonald_at_yahoo.com
web:   http://www.oracledba.co.uk

"Semper in excremento, sole profundum qui variat"

--
http://www.freelists.org/webpage/oracle-l
Received on Thu Apr 20 2006 - 08:39:39 CDT

Original text of this message

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