Perfce: Performance Debugging on Databases with Chaos Engineering-Enhanced Causality Analysis
Zhenlan Ji, Pingchuan Ma, Shuai Wang
摘要
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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Scalable Differentiable Causal Discovery in the Presence of Latent Confounders with Skeleton Posterior 引用了 XInsight: eXplainable Data Analysis Through The Lens of Causality
- Scalable Differentiable Causal Discovery in the Presence of Latent Confounders with Skeleton Posterior 引用了 Enabling Runtime Verification of Causal Discovery Algorithms with Automated Conditional Independence Reasoning
- Scalable Differentiable Causal Discovery in the Presence of Latent Confounders with Skeleton Posterior 引用了 DiBS: Differentiable Bayesian Structure Learning
- Scalable Differentiable Causal Discovery in the Presence of Latent Confounders with Skeleton Posterior 引用了 Causality-Aided Trade-Off Analysis for Machine Learning Fairness
- Enabling Runtime Verification of Causal Discovery Algorithms with Automated Conditional Independence Reasoning 引用了 XInsight: eXplainable Data Analysis Through The Lens of Causality
- Enabling Runtime Verification of Causal Discovery Algorithms with Automated Conditional Independence Reasoning 引用了 Causality-Aided Trade-Off Analysis for Machine Learning Fairness
- Enabling Runtime Verification of Causal Discovery Algorithms with Automated Conditional Independence Reasoning 引用了 Causality-Based Neural Network Repair
- Causality-Aided Trade-Off Analysis for Machine Learning Fairness 引用了 XInsight: eXplainable Data Analysis Through The Lens of Causality
- Causality-Aided Trade-Off Analysis for Machine Learning Fairness 引用了 DiBS: Differentiable Bayesian Structure Learning
- Causality-Aided Trade-Off Analysis for Machine Learning Fairness 引用了 Causality-Based Neural Network Repair
- FIRA: Enabling Automatic Forensic Investigation of Unmanned Aerial Vehicles 引用了 Groot: An Event-graph-based Approach for Root Cause Analysis in Industrial Settings
引用它的顶会 Paper5
- XInsight: eXplainable Data Analysis Through The Lens of CausalityPingchuan Ma, Rui Ding, Shuai Wang, Shi Han 等SIGMOD 2023 · 20 次引用
- Causality-Aided Trade-Off Analysis for Machine Learning FairnessZhenlan Ji, Pingchuan Ma, Shuai Wang, Yanhui LiASE 2023 · 6 次引用
- Scalable Differentiable Causal Discovery in the Presence of Latent Confounders with Skeleton PosteriorPingchuan Ma, Rui Ding, Qiang Fu, Jiaru Zhang 等KDD 2024 · 5 次引用
- Enabling Runtime Verification of Causal Discovery Algorithms with Automated Conditional Independence ReasoningPingchuan Ma, Zhenlan Ji, Peisen Yao, Shuai Wang 等ICSE 2024 · 2 次引用
- FIRA: Enabling Automatic Forensic Investigation of Unmanned Aerial VehiclesYizhi Huang, David Oygenblik, Runze Zhang, Mingxuan Yao 等USENIX Security 2026
它引用的 Paper18
- Sage: practical and scalable ML-driven performance debugging in microservicesYu Gan, Mingyu Liang, Sundar Dev, David Lo 等ASPLOS 2021 · 170 次引用
- Testing Database Engines via Pivoted Query SynthesisManuel Rigger, Zhendong SuOSDI 2020 · 150 次引用
- DiBS: Differentiable Bayesian Structure LearningLars Lorch, Jonas Rothfuss, Bernhard Schölkopf, Andreas KrauseNeurIPS 2021 · 144 次引用
- Groot: An Event-graph-based Approach for Root Cause Analysis in Industrial SettingsHanzhang Wang, Zhengkai Wu, Huai Jiang, Yichao Huang 等ASE 2021 · 73 次引用
- Causality-Based Neural Network RepairBing Sun, Jun Sun, Long H. Pham, Tie ShiICSE 2022 · 69 次引用
相关 Paper
- Testing Computation Pushdown in Distributed Database SystemsJinsheng Ba, Zuming Jiang, Zhendong SuISSTA 2026
- CERT: Finding Performance Issues in Database Systems Through the Lens of Cardinality EstimationJinsheng Ba, Manuel RiggerICSE 2024 · 12 次引用
- Relational Debugging - Pinpointing Root Causes of Performance ProblemsXiang (Jenny) Ren, Sitao Wang, Zhuqi Jin, David Lion 等OSDI 2023 · 5 次引用
- Mozi: Discovering DBMS Bugs via Configuration-Based Equivalent TransformationJie Liang, Zhiyong Wu, Jingzhou Fu, Mingzhe Wang 等ICSE 2024 · 18 次引用
- PUPPY: Finding Performance Degradation Bugs in DBMSs via Limited-Optimization Plan ConstructionZhiyong Wu, Jie Liang, Jingzhou Fu, Mingzhe Wang 等ICSE 2025 · 6 次引用
