Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: cpu time and query column in tkprof output
Hi,
> If both do the same, shouldn't at least bytes sent be the same?
They don't necessary do the same. Correlated EXISTS and a join return different results if the join key (in this case faxutil.t_kfs_tabstatuses.tabno , faxutil.t_kfs_tabstatuses.pool_status, faxutil.t_kfs_tabstatuses.job_status) is not unique.
In general I would try to avoid those execution plans:
FILTER (in select 1)
something
FULL something
NESTED LOOPS (in select 2)
something
FULL something
Those executions are not very scalable in terms of the cardinality of the user row sources.
My personal preference is, if there is at least one hash join in the execution plan, I switch all joins to [semi/anti] hash.
Regards
Jaromir D.B. Nemec
-- http://www.freelists.org/webpage/oracle-lReceived on Thu Feb 03 2005 - 19:13:02 CST