首页> 外文会议>International conference on very large data bases >Everything You Always Wanted to Know About Compiled and Vectorized Queries But Were Afraid to Ask
【24h】

Everything You Always Wanted to Know About Compiled and Vectorized Queries But Were Afraid to Ask

机译:您一直想知道的有关编译和向量化查询的所有信息,但又不敢问

获取原文

摘要

The query engines of most modern database systems are either based on vectorization or data-centric code generation. These two state-of-the-art query processing paradigms are fundamentally different in terms of system structure and query execution code. Both paradigms were used to build fast systems. However, until today it is not clear which paradigm yields faster query execution, as many implementation-specific choices obstruct a direct comparison of architectures. In this paper, we experimentally compare the two models by implementing both within the same lest system. This allows us to use for both models the same query processing algorithms, the same data structures, and the same parallelization framework to ultimately create an apples-to-apples comparison. We find that both are efficient, but have different strengths and weaknesses. Vectorization is better at hiding cache miss latency, whereas data-centric compilation requires fewer CPU instructions, which benefits cache-resident workloads. Besides raw. single-threaded performance, we also investigate SIMD as well as multi-core parallelization and different hardware architectures. Finally, we analyze qualitative differences as a guide for system architects.
机译:大多数现代数据库系统的查询引擎都基于矢量化或以数据为中心的代码生成。这两个最新的查询处理范例在系统结构和查询执行代码方面根本不同。两种范例都用于构建快速系统。但是,直到今天还不清楚哪种范式可以更快地执行查询,因为许多特定于实现的选择阻碍了架构的直接比较。在本文中,我们通过在同一个系统中实施两个模型来对两个模型进行实验比较。这样,我们就可以为两个模型使用相同的查询处理算法,相同的数据结构和相同的并行化框架,以最终创建“苹果对苹果”的比较。我们发现两者都是有效的,但是有不同的优点和缺点。向量化可以更好地隐藏高速缓存未命中延迟,而以数据为中心的编译需要较少的CPU指令,这有利于高速缓存驻留的工作负载。除了生。在单线程性能方面,我们还研究了SIMD以及多核并行化和不同的硬件体系结构。最后,我们分析定性差异作为系统架构师的指南。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号