Back to Search Start Over

Query execution time estimation in graph databases based on graph neural networks

Authors :
Zhenzhen He
Jiong Yu
Tiquan Gu
Dexian Yang
Source :
Journal of King Saud University: Computer and Information Sciences, Vol 36, Iss 4, Pp 102018- (2024)
Publication Year :
2024
Publisher :
Elsevier, 2024.

Abstract

Query execution time estimation is an essential task for databases, accurate estimation results can help administrators to manage and monitor systems. This study proposes an interaction-aware and dependency-aware query execution time estimation approach that utilizes graph neural networks to capture dependence and interaction relationships. We divide graph query execution time estimation tasks into three stages: workload generation and running, graph-based feature modeling and representation, training and estimation. Specifically, we generate query workloads and run them to collect the database and plan information when queries are executed. Then, the collected plan and database components are modeled into vertexes, the interaction and dependency between them are modeled into edges of graph-based feature representation. We develop an estimation model based on graph neural networks, in which the vertex embedding network is proposed to deal with the vertex heterogeneity, and the message passing network is proposed to aggregate the local representation into the global representation to obtain an embedding that can represent the higher-order feature information of the whole graph, and the estimation network is proposed to estimate execution times. The experiment results on datasets show that our estimation approach can improve estimation quality and outperform other estimation approaches in terms of estimation accuracy.

Details

Language :
English
ISSN :
13191578
Volume :
36
Issue :
4
Database :
Directory of Open Access Journals
Journal :
Journal of King Saud University: Computer and Information Sciences
Publication Type :
Academic Journal
Accession number :
edsdoj.f3107d8cf9364559bef5657a375da5d3
Document Type :
article
Full Text :
https://doi.org/10.1016/j.jksuci.2024.102018