Indexer++: workload-aware online index tuning with transformers and reinforcement learning
Indexer++: workload-aware online index tuning with transformers and reinforcement learning
复制标题
DOI:
10.1145/3477314.3507691
复制
发表时间:
2022-04
期刊:
影响因子:
--
通讯作者:
V. Sharma;Curtis E. Dyreson
中科院分区:
文献类型:
--
作者:
V. Sharma;Curtis E. Dyreson
With the increasing workload complexity in modern databases, the manual process of index selection is a challenging task. There is a growing need for a database with an ability to learn and adapt to evolving workloads. This paper proposes Indexer++, an autonomous, workload-aware, online index tuner. Unlike existing approaches, Indexer++ imposes low overhead on the DBMS, is responsive to changes in query workloads and swiftly selects indexes. Our approach uses a combination of text analytic techniques and reinforcement learning. Indexer++ consist of two phases: Phase (i) learns workload trends using a novel trend detection technique based on a pre-trained transformer model. Phase (ii) performs online, i.e., continuous or while the DBMS is processing workloads, index selection using a novel online deep reinforcement learning technique using our proposed priority experience sweeping. This paper provides an experimental evaluation of Indexer++ in multiple scenarios using benchmark (TPC-H) and real-world datasets (IMDB). In our experiments, Indexer++ effectively identifies changes in workload trends and selects the set of optimal indexes.