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

SPARQL属性路径的查询优化

Towards Query Optimization for SPARQL Property Paths

Nikolay Yakovets, Parke Godfrey, Jarek Gryz

摘要:

SPARQL在1.1版中扩展了属性路径,为RDF图数据库提供了一种常规路径查询。然而,这样的查询很难有效地优化和评估。我们已经开始了一个名为Waveguide的项目,为带有属性路径的SPARQL查询构建一个基于成本的优化器。Waveguide构建一个查询计划-波导计划(WGP)-它指导查询评估。在构建计划时有许多选择,以及许多优化方法,这意味着查询的计划空间可能相当大。同一查询的计划的执行成本可以按数量级变化。我们说明了这种方法提供的优化类型和可以获得的性能增益。可以估计WGP的成本,这为基于成本的优化开辟了道路。

英文摘要:

The extension of SPARQL in version 1.1 with property paths offers a type of regular path query for RDF graph databases. Such queries are difficult to optimize and evaluate efficiently, however. We have embarked on a project, Waveguide, to build a cost-based optimizer for SPARQL queries with property paths. Waveguide builds a query plan - a waveguide plan (WGP) - which guides the query evaluation. There are numerous choices in the construction of a plan, and a number of optimization methods, meaning the space of plans for a query can be quite large. Execution costs of plans for the same query can vary by orders of magnitude. We illustrate the types of optimizations this approach affords and the performance gains that can be obtained. A WGP's costs can be estimated, which opens the way to cost-based optimization.

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

↑