Skip to main navigation Skip to search Skip to main content

KnobCF: Uncertainty-Aware Knob Tuning

  • Yu Yan
  • , Junfang Huang
  • , Hongzhi Wang*
  • , Jian Geng
  • , Kaixin Zhang
  • , Tao Yu
  • *Corresponding author for this work
  • Harbin Institute of Technology
  • School of Computer Science and Technology, Harbin Institute of Technology

Research output: Contribution to journalArticlepeer-review

Abstract

The knob tuning aims to optimize database performance by searching for the most effective knob configuration under a certain workload. Existing works suffer from two significant problems. First, there exist multiple useless evaluations of knob tuning even with diverse searching methods because of the different sensitivities of knobs on a certain workload. Second, the single evaluation of knob configurations may bring overestimation or underestimation because of query performance uncertainty. To solve the above problems, we propose a query uncertainty-aware knob classifier, called KnobCF, to enhance knob tuning. Our method has three contributions: (1) We propose uncertainty-aware configuration estimation to improve the tuning process. (2) We design a few-shot uncertainty estimator that requires no extra data collection, ensuring high efficiency in practical tasks. (3) We provide a flexible framework that can be integrated into existing knob tuners and DBMSs without modification. Our experiments on four open-source benchmarks demonstrate that our method effectively reduces useless evaluations and improves the tuning results. Especially in TPCC, our method achieves competitive tuning results with only 60% to 70% time consumption compared to the full workload evaluations.

Original languageEnglish
Pages (from-to)7240-7254
Number of pages15
JournalIEEE Transactions on Knowledge and Data Engineering
Volume37
Issue number12
DOIs
StatePublished - 2025
Externally publishedYes

Keywords

  • Knob tuning
  • database
  • estimation
  • query uncertainty

Fingerprint

Dive into the research topics of 'KnobCF: Uncertainty-Aware Knob Tuning'. Together they form a unique fingerprint.

Cite this