Hybrid Hash Join
The hybrid hash join algorithm is a refinement of the grace hash join which takes advantage of more available memory. During the partitioning phase, the hybrid hash join uses the available memory for two purposes:
- To hold the current output buffer page for each of the partitions
- To hold an entire partition in-memory, known as "partition 0"
Because partition 0 is never written to or read from disk, the hybrid hash join typically performs fewer I/O operations than the grace hash join. Note that this algorithm is memory-sensitive, because there are two competing demands for memory (the hash table for partition 0, and the output buffers for the remaining partitions). Choosing too large a hash table might cause the algorithm to recurse because one of the non-zero partitions is too large to fit into memory.
Read more about this topic: Hash Join
Famous quotes containing the word join:
“To dine! she shrieked in dragon-wrath.
To swallow wines all foam and froth!
To simper at a table-cloth!
Say, can thy noble spirit stoop
To join the gormandising troop
Who find solace in the soup?”
—Lewis Carroll [Charles Lutwidge Dodgson] (18321898)