Invention Grant
- Patent Title: Using a unique index to remove group by based on set analysis
-
Application No.: US15711494Application Date: 2017-09-21
-
Publication No.: US10776358B2Publication Date: 2020-09-15
- Inventor: Ze Yuan Hu , Bing Qing Sun , Hang Xiao , Xin Ying Yang
- 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 Richard Wilhelm
- Main IPC: G06F16/00
- IPC: G06F16/00 ; G06F16/2453 ; G06F16/22

Abstract:
A technique relates to determining when to skip a group by clause in a query. A computer checks that a condition is satisfied for a table. The condition is selected from the group consisting of having a unique index on one or more columns of the table or having a function on the one or more columns that makes rows in the GROUP BY clause unique. The group by clause is part of the query on the table. In response to the condition being satisfied, the group by clause associated with the one or more columns is skipped. In response to the condition not being satisfied, the group by clause associated with the one or more columns is executed.
Public/Granted literature
- US20190087461A1 USING A UNIQUE INDEX TO REMOVE GROUP BY BASED ON SET ANALYSIS Public/Granted day:2019-03-21
Information query