PerfCE: Performance Debugging on Databases with Chaos Engineering-Enhanced Causality Analysis
Not on the map. Why?
Abstract (arXiv)
Debugging performance anomalies in real-world databases is challenging. Causal inference techniques enable qualitative and quantitative root cause analysis of performance downgrade. Nevertheless, causality analysis is practically challenging, particularly due to limited observability. Recently, chaos engineering has been applied to test complex real-world software systems. Chaos frameworks like Chaos Mesh mutate a set of chaos variables to inject catastrophic events (e.g., network slowdowns) to "stress" software systems. The systems under chaos stress are then tested using methods like differential testing to check if they retain their normal functionality (e.g., SQL query output is always correct under stress). Despite its ubiquity in the industry, chaos engineering is now employed mostly to aid software testing rather for performance debugging. This paper identifies novel usage of chaos engineering on helping developers diagnose performance anomalies in databases. Our presented framework, PERFCE, comprises an offline phase and an online phase. The offline phase learns the statistical models of the target database system, whilst the online phase diagnoses the root cause of monitored performance anomalies on the fly. During the offline phase, PERFCE leverages both passive observations and proactive chaos experiments to constitute accurate causal graphs and structural equation models (SEMs). When observing performance anomalies during the online phase, causal graphs enable qualitative root cause identification (e.g., high CPU usage) and SEMs enable quantitative counterfactual analysis (e.g., determining "when CPU usage is reduced to 45%, performance returns to normal"). PERFCE notably outperforms prior works on common synthetic datasets, and our evaluation on real-world databases, MySQL and TiDB, shows that PERFCE is highly accurate and moderately expensive.
Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). First posted on arXiv 18 Jul 2022.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2022: 2; 2023: 2; 2024: 3; 2025: 1.
8 papers.
- 2024CausalFormer: An Interpretable Transformer for Temporal Causal Discoverycited by 17
- 2022Applications of statistical causal inference in software engineeringcited by 12
- 2022XInsight: eXplainable Data Analysis Through The Lens of Causalitycited by 9
- 2023Causality-Aided Trade-off Analysis for Machine Learning Fairnesscited by 6
- 2024Scalable Differentiable Causal Discovery in the Presence of Latent Confounders with Skeleton Posterior (Extended Version)cited by 6
- 2024Causal Reasoning in Software Quality Assurance: A Systematic Reviewcited by 3
- 2025Breaking the Loop: Detecting and Mitigating Denial-of-Service Vulnerabilities in Large Language Modelscited by 3
- 2023Enabling Runtime Verification of Causal Discovery Algorithms with Automated Conditional Independence Reasoning (Extended Version)cited by 2
- 2025Breaking the Loop: Detecting and Mitigating Denial-of-Service Vulnerabilities in Large Language Models1 Mar 2025
- 2024Causal Reasoning in Software Quality Assurance: A Systematic Review30 Aug 2024
- 2024CausalFormer: An Interpretable Transformer for Temporal Causal Discovery24 Jun 2024
- 2024Scalable Differentiable Causal Discovery in the Presence of Latent Confounders with Skeleton Posterior (Extended Version)15 Jun 2024
- 2023Enabling Runtime Verification of Causal Discovery Algorithms with Automated Conditional Independence Reasoning (Extended Version)11 Sep 2023
- 2023Causality-Aided Trade-off Analysis for Machine Learning Fairness22 May 2023
- 2022Applications of statistical causal inference in software engineering21 Nov 2022
- 2022XInsight: eXplainable Data Analysis Through The Lens of Causality26 Jul 2022