Query efficiency using merged columns
AssigneeInternational Business Machines Corporation
InventorsShuo Li, Xiaobo Wang, Leilei Li, Sheng Yan Sun
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsShuo Li, Xiaobo Wang, Leilei Li, Sheng Yan Sun
Estimating the term…
A computer-implemented method to transform and execute queries by merging sparsely populated columns. The method includes receiving, from a host, a first query configured to perform a command on one or more target columns in a database. The method further includes analyzing a set of statistics for the database. The method also includes determining, based on the analyzing, a first column of the one or more target columns is included in a set of sparse columns. The method includes generating a plurality of access plans for the first query, including a first access plan that merges the first column with a second column. The method further includes transforming, based on the first access plan, the first query to merge the first column with the second column. The method also includes executing, in response to the transforming of the first query, the first query.
A computer-implemented method comprising:
A computer program product, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a processing unit to cause the processing unit to:
The computer program product of 16, wherein the determining the first column is included in the set of sparse columns is based on the hole rate for the first column being above a threshold.
A system comprising:
Dependencies are inferred from the claim text.