Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Hash join

Posted on 2011-03-24
1
Medium Priority
?
471 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 2000 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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

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…
Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
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…
Suggested Courses

824 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