Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: SQL Cost Compared To Elapsed Time
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-lReceived on Thu Apr 20 2006 - 08:39:39 CDT