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

管道还是不管道,这是一个问题

To pipeline or not to pipeline, that is the question

Harshad Deshmukh, Bruhathi Sundarmurthy, Jignesh M. Patel

摘要:

在设计查询处理原语时,一个关键的设计选择是查询计划中两个运算符之间的数据传输方法。当我们考虑我们正在构建的内存数据库系统的关键设计机制时,我们很快意识到(令人惊讶的是)这个概念没有一个明确的定义。论文中使用了大量的术语,如流水线和阻塞,但由于这些术语没有明确定义,因此很难完全理解这些概念的结果。为了解决这一限制,我们引入了一个明确的术语来说明如何考虑查询管道中操作符之间的数据传输。我们表明,没有一个明确的定义,流水线和阻塞,并有一个完整的频谱技术的基础上一个简单的概念,称为单位的传输。接下来,我们开发了一个操作员间通信的分析模型,并强调了影响性能的关键参数(对于内存数据库设置)。有了这个模型,我们将其应用于我们正在设计的系统,并强调我们从这个练习中收集的见解。我们发现,之间的差距流水线和非流水线查询执行,w.r.t.关键因素,如性能和内存占用是相当狭窄的,因此系统设计人员应该重新考虑的概念流水线与阻塞内存数据库系统。

英文摘要:

In designing query processing primitives, a crucial design choice is the method for data transfer between two operators in a query plan. As we were considering this critical design mechanism for an in-memory database system that we are building, we quickly realized that (surprisingly) there isn't a clear definition of this concept. Papers are full or ad hoc use of terms like pipelining and blocking, but as these terms are not crisply defined, it is hard to fully understand the results attributed to these concepts. To address this limitation, we introduce a clear terminology for how to think about data transfer between operators in a query pipeline. We show that there isn't a clear definition of pipelining and blocking, and that there is a full spectrum of techniques based on a simple concept called unit-of-transfer. Next, we develop an analytical model for inter-operator communication, and highlight the key parameters that impact performance (for in-memory database settings). Armed with this model, we then apply it to the system we are designing and highlight the insights we gathered from this exercise. We find that the gap between pipelining and non-pipelining query execution, w.r.t. key factors such as performance and memory footprint is quite narrow, and thus system designers should likely rethink the notion of pipelining vs. blocking for in-memory database systems.

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

↑