arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1801.06766cs.DBcs.IR
收藏

学习加速图数据库中的查询规划

Learning to Speed Up Query Planning in Graph Databases

Mohammad Hossain Namaki, F A Rezaur Rahman Chowdhury, Md Rakibul Islam, Janardhan Rao Doppa, Yinghui Wu

摘要:

查询图结构化数据是一种基本操作,它支持包括知识图谱搜索、社会网络分析和网络安全在内的重要应用。然而,不断增长的真实世界的数据图的大小提出了严峻的挑战,图数据库,以满足应用程序的响应时间的要求。规划查询处理的计算步骤-查询规划-是解决这些挑战的核心。在本文中,我们研究的问题,学习加速查询规划图数据库的目标是提高计算效率的查询处理通过训练queries.We提出了一个学习计划(L2 P)框架,适用于一个大类的查询推理机,遵循阈值算法(TA)的方法。首先,我们定义了一个通用的搜索空间的候选查询计划,并确定目标搜索轨迹(查询计划)对应的训练查询执行昂贵的搜索。随后,我们学习贪婪搜索控制知识来模仿目标查询计划的搜索行为。我们提供了一个具体的实例,我们的L2 P框架的STAR,一个国家的最先进的图形查询推理。我们的实验基准知识图谱,包括DBpedia,YAGO,和Freebase显示,使用学习的搜索控制知识生成的查询计划,我们可以显着提高STAR的速度与精度可以忽略不计的损失。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑