用多模态学习自动找出慢查询根源并排序,提升修复效率。
RCRank: Multimodal Ranking of Root Causes of Slow Queries in Cloud Database Systems
- 融合查询语句、执行计划等多源信息进行根因分析
- 在真实与合成数据上超越现有方法,准确率显著提升
- 适合云数据库运维人员快速定位高影响故障
随着存储向云数据库系统持续迁移,慢查询对服务和用户体验的影响日益加剧。根因诊断在慢查询检测与修复中起关键作用。本文提出RCRank框架,能够识别慢查询可能的根因类型,并根据其加速潜力进行排序,从而优先处理高影响根因,提升修复效率。RCRank将根因分析建模为多模态机器学习问题,融合查询语句、执行计划、执行日志及关键性能指标等异构信息。通过自监督预训练增强跨模态对齐与任务相关性,采用根因自适应交叉注意力机制实现不同特征的动态融合,并设计具影响感知的统一训练目标。在真实与合成数据集上的实验表明,RCRank在多种评估指标下均一致优于当前最先进方法。
原文摘要 · Abstract (English)
With the continued migration of storage to cloud database systems,the impact of slow queries in such systems on services and user experience is increasing. Root-cause diagnosis plays an indispensable role in facilitating slow-query detection and revision. This paper proposes a method capable of both identifying possible root cause types for slow queries and ranking these according to their potential for accelerating slow queries. This enables prioritizing root causes with the highest impact, in turn improving slow-query revision effectiveness. To enable more accurate and detailed diagnoses, we propose the multimodal Ranking for the Root Causes of slow queries (RCRank) framework, which formulates root cause analysis as a multimodal machine learning problem and leverages multimodal information from query statements, execution plans, execution logs, and key performance indicators. To obtain expressive embeddings from its heterogeneous multimodal input, RCRank integrates self-supervised pre-training that enhances cross-modal alignment and task relevance. Next, the framework integrates root-cause-adaptive cross Transformers that enable adaptive fusion of multimodal features with varying characteristics. Finally, the framework offers a unified model that features an impact-aware training objective for identifying and ranking root causes. We report on experiments on real and synthetic datasets, finding that RCRank is capable of consistently outperforming the state-of-the-art methods at root cause identification and ranking according to a range of metrics.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。