Saved in:
Bibliographic Details
Main Authors: Ouyang, Biao, Zhang, Yingying, Cheng, Hanyin, Shu, Yang, Guo, Chenjuan, Yang, Bin, Wen, Qingsong, Fan, Lunting, Jensen, Christian S.
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2503.04252
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916645180538880
author Ouyang, Biao
Zhang, Yingying
Cheng, Hanyin
Shu, Yang
Guo, Chenjuan
Yang, Bin
Wen, Qingsong
Fan, Lunting
Jensen, Christian S.
author_facet Ouyang, Biao
Zhang, Yingying
Cheng, Hanyin
Shu, Yang
Guo, Chenjuan
Yang, Bin
Wen, Qingsong
Fan, Lunting
Jensen, Christian S.
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2503_04252
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle RCRank: Multimodal Ranking of Root Causes of Slow Queries in Cloud Database Systems
Ouyang, Biao
Zhang, Yingying
Cheng, Hanyin
Shu, Yang
Guo, Chenjuan
Yang, Bin
Wen, Qingsong
Fan, Lunting
Jensen, Christian S.
Databases
Machine Learning
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.
title RCRank: Multimodal Ranking of Root Causes of Slow Queries in Cloud Database Systems
topic Databases
Machine Learning
url https://arxiv.org/abs/2503.04252