Learning to Speed Up Query Planning in Graph Databases

Authors

  • Mohammad Hossain Namaki Washington State University, Pullman
  • F. A. Chowdhury Washington State University, Pullman
  • Md Islam Washington State University, Pullman
  • Janardhan Doppa Washington State University, Pullman
  • Yinghui Wu Washington State University, Pullman

DOI:

https://doi.org/10.1609/icaps.v27i1.13849

Abstract

Querying graph structured data is a fundamental operation that enables important applications including knowledge graph search, social network analysis, and cyber-network security. However, the growing size of real-world data graphs poses severe challenges for graph databases to meet the response-time requirements of the applications. Planning the computational steps of query processing — Query Planning — is central to address these challenges. In this paper, we study the problem of learning to speedup query planning in graph databases towards the goal of improving the computational-efficiency of query processing via training queries. We present a Learning to Plan (L2P) framework that is applicable to a large class of query reasoners that follow the Threshold Algorithm (TA) approach. First, we define a generic search space over candidate query plans, and identify target search trajectories (query plans) corresponding to the training queries by performing an expensive search. Subsequently, we learn greedy search control knowledge to imitate the search behavior of the target query plans. We provide a concrete instantiation of our L2P framework for STAR, a state-of-the-art graph query reasoner. Our experiments on benchmark knowledge graphs including dbpedia, yago, and freebase show that using the query plans generated by the learned search control knowledge, we can significantly improve the speed of STAR with negligible loss in accuracy.

Downloads

Published

2017-06-05

How to Cite

Namaki, M. H., Chowdhury, F. A., Islam, M., Doppa, J., & Wu, Y. (2017). Learning to Speed Up Query Planning in Graph Databases. Proceedings of the International Conference on Automated Planning and Scheduling, 27(1), 443-451. https://doi.org/10.1609/icaps.v27i1.13849