Our paper “Sharing Opportunities for OLTP Workloads in Different Isolation Levels” was accepted for the PVLDB Vol 13, 2020

In this paper, we present an approach for merging read statements within interactively submitted multi-statement transactions consisting of reads and writes.

2020/05/19

OLTP applications are usually executed by a high number of clients in parallel and are typically faced with high throughput demand as well as a constraint latency requirement for individual statements. Interestingly, OLTP workloads are often read-heavy and comprise similar query patterns, which provides a potential to share work of statements belonging to different transactions. Consequently, OLAP techniques for sharing work have started to be applied also to OLTP workloads, lately.

In this paper, we present an approach for merging read statements within interactively submitted multi-statement transactions consisting of reads and writes. We first define a formal framework for merging transactions running under a given isolation level and provide insights into a prototypical implementation of merging within a commercial database system. In our experimental evaluation, we show that, depending on the isolation level, the load in the system and the read-share of the workload, an improvement of the transaction throughput by up to a factor of 2.5×is possible without compromising the transactional semantics.

Authors:

  • Robin Rehrmann (TU Dresden)
  • Carsten Binnig (TU Darmstadt)
  • Alexander Böhm (SAP SE, Germany)
  • Kihong Kim (SAP Labs, Korea)
  • Wolfgang Lehner (TU Dresden)