Everything you always wanted to know about compiled and vectorized queries but were afraid to ask

Timo Kersten, Viktor Leis, Alfons Kemper, Thomas Neumann, Andrew Pavlo, Peter Boncz

Publikation: Beitrag in FachzeitschriftKonferenzartikelBegutachtung

94 Zitate (Scopus)

Abstract

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 test 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 cacheresident 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.

OriginalspracheEnglisch
Seiten (von - bis)2209-2222
Seitenumfang14
FachzeitschriftProceedings of the VLDB Endowment
Jahrgang11
Ausgabenummer13
DOIs
PublikationsstatusVeröffentlicht - 2018
Veranstaltung44th International Conference on Very Large Data Bases, VLDB 2018 - Rio de Janeiro, Brasilien
Dauer: 27 Aug. 201831 Aug. 2018

Fingerprint

Untersuchen Sie die Forschungsthemen von „Everything you always wanted to know about compiled and vectorized queries but were afraid to ask“. Zusammen bilden sie einen einzigartigen Fingerprint.

Dieses zitieren