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

Home -> Community -> Usenet -> c.d.o.server -> Re: SQL tuning nightmare - db file sequential reads

Re: SQL tuning nightmare - db file sequential reads

From: Mladen Gogala <gogala_at_sbcglobal.net>
Date: Tue, 04 Jul 2006 19:42:28 GMT
Message-Id: <pan.2006.07.04.19.42.29.391497@sbcglobal.net>


On Tue, 04 Jul 2006 10:43:47 -0700, Steve Howard wrote:

> This depends on the data. A MINUS will almost always full scan at
> least one table in the query being "minused". An EXISTS will run once
> for each row returned by the outer query (33,000 times in this case).
> Depending on how much data is in S_ETL_R_IMG_6, it may be better or
> worse. If S_ETL_R_IMG_6 is small, it will be better, if large...
>
> Regards,

Yes, you're right, of course. I should have accentuated this condition. Know thy data should be the first commandment of the developer.

-- 
http://www.mgogala.com
Received on Tue Jul 04 2006 - 14:42:28 CDT

Original text of this message

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