Solved

Hash join

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

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

733 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