...
首页> 外文期刊>Journal of Functional Programming >Push versus pull-based loop fusion in query engines
【24h】

Push versus pull-based loop fusion in query engines

机译:查询引擎中基于推与拉的循环融合

获取原文
获取原文并翻译 | 示例
           

摘要

Database query engines use pull-based or push-based approaches to avoid the materialization of data across query operators. In this paper, we study these two types of query engines in depth and present the limitations and advantages of each engine. Similarly, the programming languages community has developed loop fusion techniques to remove intermediate collections in the context of collection programming. We draw parallels between databases (DB) and programming language (PL) research by demonstrating the connection between pipelined query engines and loop fusion techniques. Based on this connection, we propose a new type of pull-based engine, inspired by a loop fusion technique, which combines the benefits of both approaches. Then, we experimentally evaluate the various engines, in the context of query compilation, for the first time in a fair environment, eliminating the biasing impact of ancillary optimizations that have traditionally only been used with one of the approaches. We show that for realistic analytical workloads, there is no considerable advantage for either form of pipelined query engine, as opposed to what recent research suggests. Also, by using micro-benchmarks, which demonstrate certain edge cases on which one approach or the other performs better, we show that our proposed engine dominates the existing engines by combining the benefits of both.
机译:数据库查询引擎使用基于拉或基于推的方法来避免跨查询运算符实现数据。在本文中,我们深入研究了这两种类型的查询引擎,并提出了每种引擎的局限性和优势。同样,编程语言社区已经开发了循环融合技术,以在集合编程的上下文中删除中间集合。通过演示流水线查询引擎和循环融合技术之间的联系,我们在数据库(DB)和编程语言(PL)研究之间取得了相似之处。基于这种联系,我们在循环融合技术的启发下提出了一种新型的基于拉式的引擎,该引擎结合了两种方法的优势。然后,我们在公平的环境中,在查询编译的背景下,对各种引擎进行了实验性评估,这消除了传统上仅用于其中一种方法的辅助优化的偏见。我们表明,对于现实的分析工作负载,与最近的研究表明的相反,这两种形式的流水线查询引擎都没有明显的优势。此外,通过使用微基准测试,这些基准演示了一种方法或另一种方法在某些情况下效果更好的边缘情况,我们证明了我们提出的引擎通过结合两者的优势在现有引擎中占据了主导地位。

著录项

  • 来源
    《Journal of Functional Programming》 |2018年第2018期|e10.1-e10.45|共45页
  • 作者单位

    Ecole Polytech Fed Lausanne, Lausanne, Switzerland;

    Ecole Polytech Fed Lausanne, Lausanne, Switzerland;

    Ecole Polytech Fed Lausanne, Lausanne, Switzerland;

  • 收录信息 美国《科学引文索引》(SCI);
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号