Dynamically selecting a data access path to improve query performance
AssigneeInternational Business Machines Corporation
InventorsShuo Li, Xiaobo Wang, ShengYan Sun, Peng Hui Jiang
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsShuo Li, Xiaobo Wang, ShengYan Sun, Peng Hui Jiang
Estimating the term…
An approach is provided for accessing data in a database. A query which accesses item(s) in the data is received. The query has multiple conditions whose execution produces a final result. Amounts of filtering of portions of the data caused by utilizing different types of indexes to filter the portions are determined. Greatest amounts of filtering for the portions are determined. Types of indexes are selected so that a utilization of a given type of index causes a greatest amount of filtering for a given portion. Data access methods for the portions of data are generated. During runtime, process tasks are generated for the multiple conditions in the query. An execution flow is controlled. The execution flow executes the process tasks by utilizing the data access methods to generate initial results. The final result of the query is generated by combining the initial results from the process tasks.
A method of accessing data in a database, the method comprising:
A computer program product comprising:
A computer system comprising:
Dependencies are inferred from the claim text.