Invention Grant
- Patent Title: Switching between a non-partitioned hash join and a partitioned hash join based on an amount of available memory
-
Application No.: US15481793Application Date: 2017-04-07
-
Publication No.: US10671637B2Publication Date: 2020-06-02
- Inventor: Gopi K. Attaluri , Vijayshankar Raman , David C. Sharpe
- 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: Edell, Shapiro & Finnan, LLC
- Agent Richard Wilhelm
- Main IPC: G06F16/00
- IPC: G06F16/00 ; G06F16/27 ; G06F16/22 ; G06F16/2455

Abstract:
A method implemented by at least one processing device, a processing device, and a computer program product are provided for adjusting hash partitions for a hash join operation. An amount of rows within each of an initial number of hash partitions is determined during assignment of respective rows to respective hash partitions. The initial number of hash partitions is adjusted to a final number of hash partitions based on the amount of rows within each of the initial number of hash partitions and an amount of available memory. The adjusting further includes determining the final number of hash partitions based on the amount of rows within each of the initial number of hash partitions and the amount of available memory, and assigning the rows to the final number of hash partitions. The hash join operation is then performed.
Public/Granted literature
- US20170255676A1 ADJUSTING A QUANTITY OF HASH PARTITIONS FOR A HASH JOIN OPERATION Public/Granted day:2017-09-07
Information query