Sharing opportunities for OLTP workloads in different isolation levels
Authors:
Open Access
- 1 June 2020
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in Proceedings of the VLDB Endowment
- Vol. 13 (10) , 1696-1708
Abstract
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.5X is possible without compromising the transactional semantics.Keywords
This publication has 26 references indexed in Scilit:
- Predictable performance and high query concurrency for data analyticsThe VLDB Journal, 2011
- Data-oriented transaction executionProceedings of the VLDB Endowment, 2010
- Predictable performance for unpredictable workloadsProceedings of the VLDB Endowment, 2009
- Main-memory scan sharing for multi-core CPUsProceedings of the VLDB Endowment, 2008
- Making snapshot isolation serializableACM Transactions on Database Systems, 2005
- A critique of ANSI SQL isolation levelsACM SIGMOD Record, 1995
- Multiple-query optimizationACM Transactions on Database Systems, 1988
- Implementation techniques for main memory database systemsACM SIGMOD Record, 1984
- Multiversion concurrency control—theory and algorithmsACM Transactions on Database Systems, 1983
- View indexing in relational databasesACM Transactions on Database Systems, 1982