arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2108.05275cs.DB
收藏

一种面向属性图中子图匹配的通用基数估计框架

A General Cardinality Estimation Framework for Subgraph Matching in Property Graphs

Wilco van Leeuwen, George Fletcher, Nikolay Yakovets

AI总结:

本研究提出一种属性图查询模式基数估计的三阶段松耦合通用框架,可整合现有方法,经图版Join Order Benchmark实验验证小模式概要可准确估计无属性约束查询,同时指出带属性约束查询需新技术捕捉约束与拓扑的相关性。

摘要:

数据管理系统中已开发出多种用于解决基数估计问题的技术。本文提出了一种面向属性图数据库查询模式基数估计的框架,该框架支持对不同基数估计方法进行分析、比较与组合。该框架包含三个阶段:获取部分子查询的一组估计值、扩展该估计值集合,最终将集合整合为查询的单个基数估计结果。我们表明,现有许多基数估计方法(的部分内容)都可作为本框架某一阶段的技术使用。三个阶段松耦合,这使得组合现有基数估计方法(的部分内容)成为可能。我们构建了Join Order Benchmark(连接顺序基准)的图版本,以对不同技术组合开展实验。结果表明,对于无属性约束的查询模式,使用小模式的概要(synopses)即可实现准确估计。而要准确估计带属性约束的查询模式,则需要开发新的估计技术,以捕捉图数据库中属性约束与拓扑结构之间的相关性。

英文摘要:

Many techniques have been developed for the cardinality estimation problem in data management systems. In this document, we introduce a framework for cardinality estimation of query patterns over property graph databases, which makes it possible to analyze, compare and combine different cardinality estimation approaches. This framework consists of three phases: obtaining a set of estimates for some subqueries, extending this set and finally combining the set into a single cardinality estimate for the query. We show that (parts of) many of the existing cardinality estimation approaches can be used as techniques in one of the phases from our framework. The three phases are loosely coupled, this makes it possible to combine (parts of) current cardinality estimation approaches. We create a graph version of the Join Order Benchmark to perform experiments with different combinations of techniques. The results show that query patterns without property constraints can be accurately estimated using synopses for small patterns. Accurate estimation of query patterns with property constraints require new estimation techniques to be developed that capture correlations between the property constraints and the topology in graph databases.

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

↑