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: NESTED LOOPS VS. HASH JOINS

Re: NESTED LOOPS VS. HASH JOINS

From: Saikat Chakraborty <saikatchak_at_hotmail.com>
Date: Tue, 12 Mar 2002 04:01:40 +0000 (UTC)
Message-ID: <c14d2f3ec29fbaec8e77f94785e7e9ba.16981@mygate.mailgate.org>


Hi,
What I had noticed that hash join is more effective when: 1. The resultset data volume is large. In fact the larger the data volume, the more effective is the hash join. 2. Of the two tables that are joined, one is of less volume compared to the other.

Nested loop is effective when the resultset is very small. Of course to use Hash joins, you need to have CBO.

Thanks,
Saikat
http://saikatchak.tripod.com

"Marcelo Parra" <marcelop_at_pidcgroup.com> wrote in message news:a6iu4v$s1c$1_at_newsreader.mailgate.org...

> In wich case it is mos convenient to use hash joins and in which others
> nested loops for making a query?
> Txs in advance.

-- 
Posted via Mailgate.ORG Server - http://www.Mailgate.ORG
Received on Mon Mar 11 2002 - 22:01:40 CST

Original text of this message

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