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: cpu time and query column in tkprof output

Re: cpu time and query column in tkprof output

From: jaromir nemec <jaromir_at_db-nemec.com>
Date: Fri, 4 Feb 2005 01:10:02 +0100
Message-ID: <009f01c50a4d$e2530ba0$3c02a8c0@JARAWIN>


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.db-nemec.com

--
http://www.freelists.org/webpage/oracle-l
Received on Thu Feb 03 2005 - 19:13:02 CST

Original text of this message

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