| CPC G06F 16/2272 (2019.01) | 18 Claims |

|
1. A method, comprising:
a database management system (DBMS) selecting a working set of queries by monitoring queries that are executed by said DBMS;
monitoring column usage of said working set of queries, wherein said column usage includes use of a column in one or more of a filtering predicate, a join predicate, a group-by operation, and an order-by operation by said set of working queries;
based on said column usage, selecting a certain set of one or more auto indexes;
making said certain set of one or more auto indexes available for executing queries not in said working set of queries; and
after making said certain set of one or more auto indexes available:
performing one or more executions of a particular query, each execution of said one or more executions using a particular auto index of said certain set of one or more auto indexes; and
based on execution performance of said one or more executions, locking down said particular auto index for said particular query.
|