Lock-free creation of hash tables in parallel
AssigneeInternational Business Machines Corporation
InventorsTim Kaldewey, Guy M. Lohman, Peter B. Volk
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsTim Kaldewey, Guy M. Lohman, Peter B. Volk
Estimating the term…
A hash table is created in parallel without requiring a lock or random accesses to memory. The hash table of a database system is logically partitioned and a separate thread is assigned to each partition of the hash table. As many separate threads as can fit their corresponding hash table partitions into the processor's cache are executed in parallel with other threads without a lock. Execution of a number of separate threads includes: scanning an input data table for a thread's partition and applying a hash function to each key, inserting data of keys that hash to the thread's partition into the thread's partition, and ignoring keys that do not hash to the thread's partition.
A method of lock-free creation of partitioned hash tables in parallel for an input data table, comprising:
A database system of lock-free creation of partitioned hash tables in parallel, comprising:
A computer program product for lock-free creation of partitioned hash tables in parallel for an input data table, the computer program product comprising a non-transitory computer readable storage medium having program code embodied therewith, the program code executable by a processor to:
Dependencies are inferred from the claim text.