CONCERTO: Complex Query Execution Mechanism-Aware Learned Cost Estimation

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Zhang, Kaixin, Wang, Hongzhi, Gu, Kunkai, Li, Ziqi, Zhao, Chunyu, Li, Yingze, Yan, Yu
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866917969366351872
author Zhang, Kaixin
Wang, Hongzhi
Gu, Kunkai
Li, Ziqi
Zhao, Chunyu
Li, Yingze
Yan, Yu
author_facet Zhang, Kaixin
Wang, Hongzhi
Gu, Kunkai
Li, Ziqi
Zhao, Chunyu
Li, Yingze
Yan, Yu
contents With the growing demand for massive data analysis, many DBMSs have adopted complex underlying query execution mechanisms, including vectorized operators, parallel execution, and dynamic pipeline modifications. However, there remains a lack of targeted Query Performance Prediction (QPP) methods for these complex execution mechanisms and their interactions, as most existing approaches focus on traditional tree-shaped query plans and static serial executors. To address this challenge, this paper proposes CONCERTO, a Complex query executiON meChanism-awaE leaRned cosT estimatiOn method. CONCERTO first establishes independent resource cost models for each physical operator. It then constructs a Directed Acyclic Graph (DAG) consisting of a dataflow tree backbone and resource competition relationships among concurrent operators. After calibrating the cost impact of parallel operator execution using Graph Attention Networks (GATs) with additional attention mechanisms, CONCERTO extracts and aggregates cost vector trees through Temporal Convolutional Networks (TCNs), ultimately achieving effective query performance prediction. Experimental results demonstrate that CONCERTO achieves higher prediction accuracy than existing methods.
format Preprint
id arxiv_https___arxiv_org_abs_2412_00749
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle CONCERTO: Complex Query Execution Mechanism-Aware Learned Cost Estimation
Zhang, Kaixin
Wang, Hongzhi
Gu, Kunkai
Li, Ziqi
Zhao, Chunyu
Li, Yingze
Yan, Yu
Databases
Artificial Intelligence
With the growing demand for massive data analysis, many DBMSs have adopted complex underlying query execution mechanisms, including vectorized operators, parallel execution, and dynamic pipeline modifications. However, there remains a lack of targeted Query Performance Prediction (QPP) methods for these complex execution mechanisms and their interactions, as most existing approaches focus on traditional tree-shaped query plans and static serial executors. To address this challenge, this paper proposes CONCERTO, a Complex query executiON meChanism-awaE leaRned cosT estimatiOn method. CONCERTO first establishes independent resource cost models for each physical operator. It then constructs a Directed Acyclic Graph (DAG) consisting of a dataflow tree backbone and resource competition relationships among concurrent operators. After calibrating the cost impact of parallel operator execution using Graph Attention Networks (GATs) with additional attention mechanisms, CONCERTO extracts and aggregates cost vector trees through Temporal Convolutional Networks (TCNs), ultimately achieving effective query performance prediction. Experimental results demonstrate that CONCERTO achieves higher prediction accuracy than existing methods.
title CONCERTO: Complex Query Execution Mechanism-Aware Learned Cost Estimation
topic Databases
Artificial Intelligence
url https://arxiv.org/abs/2412.00749