Execution Time Prediction for Cypher Queries in the Neo4j Database Using a Learning Approach

Author:

He Zhenzhen1,Yu Jiong1,Guo Binglei2ORCID

Affiliation:

1. School of Information Science and Engineering, Xinjiang University, Urumqi 830049, China

2. School of Computer Engineering, Hubei University of Arts and Science, Xiangyang 441053, China

Abstract

With database management systems becoming complex, predicting the execution time of graph queries before they are executed is one of the challenges for query scheduling, workload management, resource allocation, and progress monitoring. Through the comparison of query performance prediction methods, existing research works have solved such problems in traditional SQL queries, but they cannot be directly applied in Cypher queries on the Neo4j database. Additionally, most query performance prediction methods focus on measuring the relationship between correlation coefficients and retrieval performance. Inspired by machine-learning methods and graph query optimization technologies, we used the RBF neural network as a prediction model to train and predict the execution time of Cypher queries. Meanwhile, the corresponding query pattern features, graph data features, and query plan features were fused together and then used to train our prediction models. Furthermore, we also deployed a monitor node and designed a Cypher query benchmark for the database clusters to obtain the query plan information and native data store. The experimental results of four benchmarks showed that the average mean relative error of the RBF model reached 16.5% in the Northwind dataset, 12% in the FIFA2021 dataset, and 16.25% in the CORD-19 dataset. This experiment proves the effectiveness of our proposed approach on three real-world datasets.

Funder

National Natural Science Foundation of China

Publisher

MDPI AG

Subject

Physics and Astronomy (miscellaneous),General Mathematics,Chemistry (miscellaneous),Computer Science (miscellaneous)

Reference44 articles.

1. Drakopoulos, G., Kanavos, A., and Tsakalidis, A.K. (2016, January 23–25). Evaluating Twitter Influence Ranking with System Theory. Proceedings of the 12th International Conference on Web Information Systems and Technologies (WeBIST), Rome, Italy.

2. Representing and querying disease networks using graph databases;Lysenko;BioData Min.,2016

3. Guirguis, S., Sharaf, M.A., Chrysanthis, P.K., Labrinidis, A., and Pruhs, K. (April, January 29). Adaptive scheduling of web transactions. Proceedings of the IEEE 25th International Conference on Data Engineering, Shanghai, China.

4. Knowledge graph refinement: A survey of approaches and evaluation methods;Paulheim;Semant. Web,2017

5. Efficient Authorization of Graph-database Queries in an Attribute-supporting ReBAC Model;Rizvi;ACM Trans. Priv. Secur. (TOPS),2020

Cited by 5 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Testing Gremlin-Based Graph Database Systems via Query Disassembling;Proceedings of the 33rd ACM SIGSOFT International Symposium on Software Testing and Analysis;2024-09-11

2. A novel query execution time prediction approach based on operator iterate-aware of the execution plan on the graph database;Journal of King Saud University - Computer and Information Sciences;2024-07

3. Differential Optimization Testing of Gremlin-Based Graph Database Systems;2024 IEEE Conference on Software Testing, Verification and Validation (ICST);2024-05-27

4. Cardinality estimation for property graph queries with gated learning approach on the graph database;Multimedia Tools and Applications;2024-05-07

5. Query execution time estimation in graph databases based on graph neural networks;Journal of King Saud University - Computer and Information Sciences;2024-04

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3