Invention Grant
- Patent Title: Lock-free creation of hash tables in parallel
- Patent Title (中): 并行创建哈希表
-
Application No.: US13887422Application Date: 2013-05-06
-
Publication No.: US09519668B2Publication Date: 2016-12-13
- Inventor: Tim Kaldewey , Guy M. Lohman , Peter B. Volk
- Applicant: International Business Machines Corporation
- Applicant Address: US NY Armonk
- Assignee: INTERNATIONAL BUSINESS MACHINES CORPORATION
- Current Assignee: INTERNATIONAL BUSINESS MACHINES CORPORATION
- Current Assignee Address: US NY Armonk
- Agency: Cantor Colburn LLP
- Agent Bryan Butler
- Main IPC: G06F17/30
- IPC: G06F17/30

Abstract:
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.
Public/Granted literature
- US20140330801A1 LOCK-FREE CREATION OF HASH TABLES IN PARALLEL Public/Granted day:2014-11-06
Information query