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

Home -> Community -> Mailing Lists -> Oracle-L -> SMJ, NL or HJ

SMJ, NL or HJ

From: <Rajesh.Rao_at_jpmchase.com>
Date: Fri, 03 May 2002 08:13:27 -0800
Message-ID: <F001.004576CC.20020503081327@fatcity.com>


Hello Gurus,

A SQL tuning question. Given three large tables with the same millions of rows, and all three are referenced in a query, without any filter, as under:

Select ..............................

from largetableA a, largeTableB b, largeTableC c where a.empnum = b.empnum
and a.empnum = c.empnum;

What would be the prefered way of joining these tables, Merge Join, Nested Loops or Hash Joins?

Thanks
Raj

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author:
  INET: Rajesh.Rao_at_jpmchase.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Fri May 03 2002 - 11:13:27 CDT

Original text of this message

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