BARQ:一个向量化SPARQL查询执行引擎
BARQ: A Vectorized SPARQL Query Execution Engine
AI总结:
本文介绍了向量化SPARQL查询执行引擎BARQ,通过批处理元组优化关键操作,成功集成到Stardog平台,在CPU密集型查询上实现大幅提速且不牺牲磁盘密集型查询性能。
摘要:
Stardog是一个构建于RDF图数据库之上的商业Knowledge Graph平台,其主要通信手段是一种名为SPARQL的标准化图查询语言。本文描述了我们开发更高性能查询执行层并将其接入Stardog查询引擎的历程。名为BARQ的新执行器基于一个已知原理,即在最关键的查询操作符(尤其是joins)中,一次处理一批元组。除介绍BARQ外,本文还描述了将其集成到基于经典tuple-at-a-time Volcano模型的成熟且紧密集成的系统中所面临的挑战。它提供了一种渐进式方法,以克服中小型工程团队通常面临的这些挑战。最后,本文展示了实验结果,表明BARQ使Stardog在CPU-bound查询上大幅提速,且未牺牲disk-bound和OLTP风格查询的性能。
英文摘要:
Stardog is a commercial Knowledge Graph platform built on top of an RDF graph database whose primary means of communication is a standardized graph query language called SPARQL. This paper describes our journey of developing a more performant query execution layer and plugging it into Stardog's query engine. The new executor, called BARQ, is based on the known principle of processing batches of tuples at a time in most critical query operators, particularly joins. In addition to presenting BARQ, the paper describes the challenges of integrating it into a mature, tightly integrated system based on the classical tuple-at-a-time Volcano model. It offers a gradual approach to overcoming the challenges that small- to medium-size engineering teams typically face. Finally, the paper presents experimental results showing that BARQ makes Stardog substantially faster on CPU-bound queries without sacrificing performance on disk-bound and OLTP-style queries.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。