Query optimization using reinforcement learning
AssigneeInternational Business Machines Corporation
InventorsThomas A. Beavin, Shuanglin Guo, Brandon Jabr, Terence P. Purcell
Life of this patent
Estimating the term…
Abstract
According to an aspect, a computer-implemented method for improving query performance in a databased management system (DBMS) includes receiving, by a query optimizer of the DMBS, a query for execution. The method also includes creating, by the query optimizer, an initial access path for the query based on state and executing the query based on the initial access path. The method further includes observing, by a query agent of the DBMS, the execution of the query and modifying at least one of the state based on a determination by the query agent that a change to the initial access path would improve the execution of the query.
Claims20
A computer-implemented method to improve query performance in a databased management system (DBMS), the method comprising:
- receiving, by a query optimizer of the DMBS, a query for execution;
- creating, by the query optimizer, an initial access path for the query based on state;
- executing the query based on the initial access path;
- observing, by a query agent of the DBMS, the execution of the query;
- based on a determination by the query agent that a change to the initial access path would improve the execution of the query, modifying at least one of the state.
A system comprising:
- a memory having computer readable instructions;
- and
- one or more processors for executing the computer readable instructions, the computer readable instructions controlling the one or more processors to perform operations comprising:
- receiving, by a query optimizer of a databased management system (DBMS), a query for execution;
- creating, by the query optimizer, an initial access path for the query based on state;
- executing the query based on the initial access path;
- observing, by a query agent of the DBMS, the execution of the query;
- based on a determination by the query agent that a change to the initial access path would improve the execution of the query, modifying at least one of the state.
A computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a processor to cause the processor to perform operations comprising:
- receiving, by a query optimizer of a databased management system (DBMS), a query for execution;
- state;
- creating, by the query optimizer, an initial access path for the query based on executing the query based on the initial access path;
- observing, by a query agent of the DBMS, the execution of the query;
- based on a determination by the query agent that a change to the initial access path would improve the execution of the query, modifying at least one of the state.
Dependencies are inferred from the claim text.