跳到主要导航 跳到搜索 跳到主要内容

Automatic Parameter Tuning for Compaction in Lsm-Tree Based Databases

  • Pinshan Cao
  • , Peng Cai*
  • , Xuan Zhou
  • , Jun Peng Zhu*
  • , Kecheng Luo
  • , Sijia Li
  • , Quanqing Xu
  • , Chuanhui Yang
  • *此作品的通讯作者
  • East China Normal University
  • OceanBase
  • Ant Group

科研成果: 书/报告/会议事项章节 › 会议稿件 › 同行评审

摘要

Log-structured merge trees (LSM-trees) serve as the backbone of modern storage engines, yet their compaction process frequently becomes the primary performance bottleneck in production environments, compromising quality of service (QoS) in latency-sensitive applications. While LSM-tree based database systems expose numerous tunable parameters, existing tuning approaches focus exclusively on optimizing average-case throughput and latency, leaving compaction-induced performance bottlenecks unaddressed. In this work, we formulate robustness to compaction-induced performance variability as a novel constrained optimization problem, aiming to reduce performance variance without violating the throughput and latency service level agreements (SLAs). We propose MerTune, a knowledge-driven and constraint-aware Bayesian optimization framework designed for LSM-tree compaction tuning. MerTune models both the optimization objective and SLA constraints via Gaussian processes, while leveraging large language models (LLMs) to extract and group parameter knowledge from the database's official documentation. By integrating workload characterization, LLM-guided parameter selection, and knowledge-driven Bayesian exploration, MerTune improves robustness against compaction-induced performance fluctuations. MerTune has been applied to OceanBase database, and extensive evaluations under representative workloads demonstrate that it reduces throughput fluctuation by over 66.4%, latency fluctuation by over 45.5%, and CPU utilization fluctuation by over 17.1%, achieving superior optimization effectiveness and faster convergence compared to state-of-the-art tuning methods.

源语言英语
主期刊名Proceedings - 2026 IEEE 42nd International Conference on Data Engineering, ICDE 2026
编辑Khuzaima Daudjee, Qiong Luo, Alkis Simitsis
出版商Institute of Electrical and Electronics Engineers Inc.
页3750-3763
页数14
ISBN(电子版)9798331583651
DOI
出版状态已出版 - 2026
活动42nd International Conference on Data Engineering, ICDE 2026 - Montreal, 加拿大
期限: 4 5月 2026 → …

丛书

姓名Proceedings - 2026 IEEE 42nd International Conference on Data Engineering, ICDE 2026

会议

会议42nd International Conference on Data Engineering, ICDE 2026
国家/地区加拿大
市Montreal
时期4/05/26 → …

学术指纹

探究 'Automatic Parameter Tuning for Compaction in Lsm-Tree Based Databases' 的科研主题。它们共同构成独一无二的学术指纹。

引用此