A Bayesian Reinforcement Learning Framework for Online Index Tuning

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

Efficient index tuning is critical to maintain high query performance in database systems with dynamic workloads. Traditional off-line and heuristic-driven tuning methods often incur high overhead due to frequent reconfiguration and fail to adapt to evolving workloads. To overcome these limitations, we address online index selection and formulate it as a sequential decision-making problem under uncertainty. We propose a Bayesian Reinforcement Learning framework that adaptively tunes index configurations based solely on the observed workload history, without requiring prior knowledge of the workload. Our framework leverages Q-learning with Thompson Sampling, a posterior distribution sampling method, to adaptively maintain and refine index configurations over time. The probabilistic mechanism of our approach enables the Q-learning agent to effectively balance exploration and exploitation, allowing it to traverse the vast exponential index configuration space. Our comprehensive experimental evaluation demonstrates that our algorithm excels at online index tuning across a diverse range of workloads on a standard benchmark dataset and outperforms other index tuning algorithms which are based on alternative learning methods.

Original languageEnglish (US)
Title of host publicationBig Data Analytics and Knowledge Discovery - 27th International Conference, DaWaK 2025, Proceedings
EditorsCarson K. Leung, Anton Dignös, Gabriele Kotsis, Ismail Khalil, A. Min Tjoa
PublisherSpringer Science and Business Media Deutschland GmbH
Pages259-267
Number of pages9
ISBN (Print)9783032022141
DOIs
StatePublished - 2026
Event27th International Conference on Big Data Analytics and Knowledge Discovery, DaWaK 2025 - Bangkok, Thailand
Duration: Aug 25 2025Aug 27 2025

Publication series

NameLecture Notes in Computer Science
Volume16048 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference27th International Conference on Big Data Analytics and Knowledge Discovery, DaWaK 2025
Country/TerritoryThailand
CityBangkok
Period8/25/258/27/25

All Science Journal Classification (ASJC) codes

  • Theoretical Computer Science
  • General Computer Science

Fingerprint

Dive into the research topics of 'A Bayesian Reinforcement Learning Framework for Online Index Tuning'. Together they form a unique fingerprint.

Cite this