Permutation-based machine learning for database query optimization
AssigneeInternational Business Machines Corporation
InventorsTerence P. Purcell, Thomas A. Beavin, Martin Dinh, Brian L. Baggett
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsTerence P. Purcell, Thomas A. Beavin, Martin Dinh, Brian L. Baggett
Estimating the term…
A DBMS query-optimization module receives a corpus of training data that contains data-access requests, such as SQL queries. Each request specifies data to be accessed but does not specify a query plan that the database should use to generate the requested data. The module identifies, in each received request, parameters, such as join methods and access methods, that can vary among query plans; and variables that cannot be assigned values until the query is actually processed. The system generates a set of queries, each of which implements a distinct query plan, that specify every viable permutation of values of the parameters and of the variables. The generated queries are added to the received corpus, which is forwarded to a machine-learning module in order to train the query-optimizer to select query plans that incur the lowest resource costs when servicing a particular type of query.
A database-optimizer training system comprising a processor, a memory coupled to the processor, and a computer-readable hardware storage device coupled to the processor, the storage device containing program code configured to be run by the processor via the memory to implement a method for permutation-based machine learning for database query optimization, the method comprising:
A method for permutation-based machine learning for database query optimization, the method comprising:
A computer program product, comprising a computer-readable hardware storage device having a computer-readable program code stored therein, the program code configured to be executed by a database-optimizer training system comprising a processor, a memory coupled to the processor, and a computer-readable hardware storage device coupled to the processor, the storage device containing program code configured to be run by the processor via the memory to implement a method for permutation-based machine learning for database query optimization, the method comprising:
Dependencies are inferred from the claim text.