paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Perfce: Performance Debugging on Databases with Chaos Engineering-Enhanced Causality Analysis

Perfce:基于混沌工程增强因果分析的数据库性能调试
ASE 2023 38th IEEE/ACM International Conference on Automated Software Engineering (ASE)2023匹配度 2/10 · 论文聚焦数据库性能异常根因诊断,使用混沌工程与因果分析/统计模型,属于软件测试与性能调试;未涉及静态分析、LLM/Agent、浮点程序分析或贝叶斯程序分析等用户核心方向。虽然统计建模与因果推断可能提供方法启发,但任务与场景匹配度低。引用 17 inbox
Zhenlan Ji, Pingchuan Ma, Shuai Wang
crossref: 2026-09-12dblp: 2026-09-12arxiv: 2026-09-12

AI 速览

一句话:提出 Perfce,用混沌工程增强因果分析,离线学习统计模型并在线定性与定量诊断数据库性能异常根因。

数据库性能异常调试困难。因果推断可对性能下降进行定性和定量根因分析,但实际中受可观测性有限等限制。本文提出将混沌工程从软件测试拓展到数据库性能异常诊断的框架 Perfce。Perfce 分为离线与在线两阶段:离线阶段结合被动观测和主动混沌实验学习数据库统计模型;在线阶段实时从定性和定量角度诊断性能异常根因。评估表明,Perfce 在合成数据集上优于先前工作,并在 MySQL、TiDB 等真实(分布式)数据库上具有高准确率和中等开销。

问题
数据库性能异常的根因诊断在实际中很困难,尤其受可观测性有限影响,现有因果分析难以有效定性和定量定位性能下降原因。
方法
提出 Perfce,利用混沌工程主动注入扰动并结合被动观测,离线学习数据库统计模型,在线进行实时因果诊断。
评估
在合成数据集上与先前工作比较,并在 MySQL 和 TiDB 等真实(分布式)数据库上评估准确率与开销。
原文摘要(Abstract)

Debugging performance anomalies in databases is challenging. Causal inference techniques enable qualitative and quantitative root cause analysis of performance downgrades. Nevertheless, causality analysis is challenging in practice, particularly due to limited observability. Recently, chaos engineering (CE) has been applied to test complex software systems. CE frameworks mutate chaos variables to inject catastrophic events (e.g., network slowdowns) to stress-test these software systems. The systems under chaos stress are then tested (e.g., via differential testing) to check if they retain normal functionality, such as returning correct SQL query outputs even under stress. To date, CE is mainly employed to aid software testing. This paper identifies the novel usage of CE in diagnosing performance anomalies in databases. Our framework, PERFCE, has two phases - offline and online. The offline phase learns statistical models of a database using both passive observations and proactive chaos experiments. The online phase diagnoses the root cause of performance anomalies from both qualitative and quantitative aspects on-the-fly. In evaluation, Perfce outperformed previous works on synthetic datasets and is highly accurate and moderately expensive when analyzing real-world (distributed) databases like MySQL and TiDB.

链接与引用

DOI 原文 · arXiv · PDF(开放获取) · DBLP

BibTeX
@inproceedings{JiMW23,
  title = {Perfce: Performance Debugging on Databases with Chaos Engineering-Enhanced Causality Analysis},
  author = {Zhenlan Ji and Pingchuan Ma and Shuai Wang},
  booktitle = {ASE},
  year = {2023},
  doi = {10.1109/ase56229.2023.00106}
}