Solved

Hash join

Posted on 2011-03-24
1
455 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.

Join & Write a Comment

Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
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…

707 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now