Time: Do, 5. DS (14:50-16:20)
Location: APB 3080
Quantity: 0V/0Ü/8P SWS
Language: German (English on request)

Template Vector Library



For analytical workloads, in-memory column-store database systems are perfectly suited, because relational tables are organized by column rather than by row. The major advantage of these systems is that analytical queries only need to read relevant data columns during query processing. To further speedup query processing, vectorization based on the SIMD (Single Instruction Multiple Data) parallel paradigm is a core technique. In mainstream CPUs, vectorization is offered by a large number of powerful SIMD extensions growing not only in vector size but also in terms of complexity of the provided instruction sets. However, programming with vector extensions in a non-trivial task and accomplished in a hardware-conscious way. Thus, the implementation of query operators is not only error-prone but also connected with quite some effort for embracing new vector extensions or porting to other vector extensions. To overcome that, we developed a Template Vector Library as a hardware-oblivious concept. The unique properties of TVL are: (i) we provide a well-defined, standardized, and abstract interface for a vectorized query processing, (ii) query operators have to be vectorized only once using TVL, and (iii) this single set of query operators can be mapped to all vector processing units from different SIMD extensions up to vector engines at runtime. Moreover, our TVL approach is a core component of MorphStore, a regular in-memory column-store database systems with some unique feature designed and implemented at our chair.

Research Internship Organization

In this research internship, we will have a deep dive into SIMD programming and TVL, in particular, we are going to enhance TVL with some new features. To achieve that goal, the internship is organized as follows:

  • At the beginning, we will give a tutorial-style introduction into SIMD programming so that the subsequent tasks can be mastered. That means, we do not expect that our participants have extensive experience with the SIMD implementation but with C++ programming in general.
  • Afterwards, we will introduce all concepts and implementation aspects of our hardware-oblivious TVL approach.
  • Generally, SIMD processing can be done on 64-, 32-, 16-, and 8-bit data elements. Up-to-now, our TVL only supports 64- and 32-bit data elements on Intel and ARM systems. Thus, the main task of the research internship participants is to enhance TVL with the ability to support also the SIMD processing of 16- and 8-bit data elements on both hardware systems of Intel and ARM.
  • At the end, we will integrate these extensions into MorphStore and we will evaluate the impact of this feature extension on the query processing performance using the Star-Schema Benchmark.


Poster-Presentation of this Internship.


17 Oct: Kick-Off
24 Oct: SIMD Introduction
07 Nov: MorphStore Introduction
14 Nov: Temlate Vector Library


For further information and registration, please contact Annett Ungethüm or Dirk Habich.