RCRank:云数据库系统中慢查询根因的多模态排序
RCRank: Multimodal Ranking of Root Causes of Slow Queries in Cloud Database Systems
AI总结:
针对云数据库慢查询根因诊断问题,提出多模态排序框架RCRank,融合多源信息并采用影响感知训练目标对根因进行识别与排序,实验证明其持续优于现有方法。
摘要:
随着存储持续向云数据库系统迁移,此类系统中慢查询对服务和用户体验的影响日益增加。根因诊断在促进慢查询检测和修订方面发挥着不可或缺的作用。本文提出了一种方法,既能识别慢查询的可能根因类型,又能根据其加速慢查询的潜力对这些根因进行排序。这使得能够优先处理影响最大的根因,进而提高慢查询修订的有效性。为实现更准确和详细的诊断,我们提出了慢查询根因多模态排序(RCRank)框架,该框架将根因分析表述为多模态机器学习问题,并利用来自查询语句、执行计划、执行日志和关键性能指标的多模态信息。为了从异构多模态输入中获取具有表现力的嵌入,RCRank集成了自监督预训练,以增强跨模态对齐和任务相关性。接下来,该框架集成了根因自适应交叉Transformer,能够自适应地融合具有不同特征的多模态特征。最后,该框架提供了一个统一模型,该模型具有用于识别和排序根因的影响感知训练目标。我们报告了在真实和合成数据集上的实验,发现根据一系列指标,RCRank在根因识别和排序方面能够持续优于最先进的方法。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。