Solved

Hash join

Posted on 2011-03-24
1
456 Views
Last Modified: 2012-06-27
What is a hash join?
0
Comment
Question by:msimons4
1 Comment
 
LVL 73

Accepted Solution

by:
sdstuber earned 500 total points
ID: 35206938
This is a high level description

when you hash join two rowsets  each row in each set has a hash value generated for it.
When comparing two rows to see if they match, the hash values are compared, rather than the column values themselves.

This is useful because  the hashing creates a hash table that acts like mailboxes.  To compare two rows, you simply check if they both resolve to the same "address" because they have the same hash value.  This is fast.

The downside is the hash table consumes memory and the generating of hash values takes time.



0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Article by: Swadhin
From the Oracle SQL Reference (http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/queries006.htm) we are told that a join is a query that combines rows from two or more tables, views, or materialized views. This article provides a glimps…
Subquery in Oracle: Sub queries are one of advance queries in oracle. Types of advance queries: •      Sub Queries •      Hierarchical Queries •      Set Operators Sub queries are know as the query called from another query or another subquery. It can …
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question