Invention Grant
- Patent Title: Building a hash table using vectorized instructions
- Patent Title (中): 使用向量化指令构建哈希表
-
Application No.: US13956343Application Date: 2013-07-31
-
Publication No.: US09256631B2Publication Date: 2016-02-09
- Inventor: Rajkumar Sen , Nipun Agarwal
- Applicant: Oracle International Corporation
- Applicant Address: US CA Redwood Shores
- Assignee: Oracle International Corporation
- Current Assignee: Oracle International Corporation
- Current Assignee Address: US CA Redwood Shores
- Agency: Hickman Palermo Becker Bingham LLP
- Agent Daniel D. Ledesma
- Main IPC: G06F17/30
- IPC: G06F17/30 ; G06F9/30

Abstract:
Techniques for performing database operations using vectorized instructions are provided. In one technique, a hash table build phase involves executing vectorized instructions to determine whether a bucket in a hash table includes a free slot for inserting a key. A number of data elements from the bucket are loaded in a register. A vectorized instruction is executed against the register may be used to determine a position, within the register, that contains the “smallest” data element. If the data element at that position is zero (or negative), then it is determined that the corresponding position in the bucket is an available slot for inserting a key and corresponding data value.
Public/Granted literature
- US20150039626A1 BUILDING A HASH TABLE USING VECTORIZED INSTRUCTIONS Public/Granted day:2015-02-05
Information query