CPC G06F 16/217 (2019.01) [G06F 16/2246 (2019.01); G06F 16/2453 (2019.01)] | 20 Claims |
1. A computer-implemented method for performing index tuning within a relational database system, comprising:
receiving, at an index tuner, a workload comprising a set of queries corresponding to one or more databases;
generating, by the index tuner, a set of candidate indexes based on the set of queries, wherein the set of candidate indexes comprises multiple candidate index combinations;
determining, by the index tuner, an index configuration from the set of candidate indexes by:
identifying a plurality of index configurations from the set of candidate indexes utilizing one or more reinforcement learning models;
determining workload computing costs for a subset of the plurality of index configurations based on a query optimizer and a predetermined threshold tuning constraint; and
selecting the index configuration from the plurality of index configurations based on the workload computing costs, wherein the index configuration comprises a subset of candidate indexes from the set of candidate indexes; and
providing the subset of candidate indexes in response to receiving the workload.
|