Projects per year
Abstract
A serializable concurrency control mechanism ensures consistency for OLTP systems at the expense of a reduced transaction throughput. A DBMS therefore usually offers the possibility to allocate lower isolation levels for some transactions when it is safe to do so. However, such trading of consistency for efficiency does not come with any safety guarantees. In this paper, we study the mixed robustness problem which asks whether, for a given set of transactions and a given allocation of isolation levels, every possible interleaved execution of those transactions that is allowed under the provided allocation is always serializable. That is, whether the given allocation is indeed safe. While robustness has already been studied in the literature for the homogeneous setting where all transactions are allocated the same isolation level, the heterogeneous setting that we consider in this paper, despite its practical relevance, has largely been ignored. We focus on multiversion concurrency control and consider the isolation levels that are available in Postgres and Oracle: read committed (RC), snapshot isolation (SI) and serializable snapshot isolation (SSI). We show that the mixed robustness problem can be decided in polynomial time. In addition, we provide a polynomial time algorithm for computing the optimal robust allocation for a given set of transactions, prioritizing lower over higher isolation levels. The present results therefore establish the groundwork to automate isolation level allocation within existing databases supporting multiversion concurrency control.
Original language | English |
---|---|
Title of host publication | PODS 2023 - Proceedings of the 42nd ACM SIGMOD-SIGACT-SIGAI Symposium on Principles of Database Systems |
Publisher | Association for Computing Machinery |
Pages | 69-78 |
Number of pages | 10 |
ISBN (Electronic) | 9798400701276 |
DOIs | |
Publication status | Published - 18 Jun 2023 |
Event | 42nd ACM SIGMOD-SIGACT-SIGAI Symposium on Principles of Database Systems, PODS 2023 - Seattle, United States Duration: 18 Jun 2023 → 23 Jun 2023 |
Publication series
Name | Proceedings of the ACM SIGACT-SIGMOD-SIGART Symposium on Principles of Database Systems |
---|
Conference
Conference | 42nd ACM SIGMOD-SIGACT-SIGAI Symposium on Principles of Database Systems, PODS 2023 |
---|---|
Country/Territory | United States |
City | Seattle |
Period | 18/06/23 → 23/06/23 |
Bibliographical note
Funding Information:This work is funded by FWO-grant G019921N.
Publisher Copyright:
© 2023 ACM.
Keywords
- complexity
- concurrency control
- robustness
Fingerprint
Dive into the research topics of 'Allocating Isolation Levels to Transactions in a Multiversion Setting'. Together they form a unique fingerprint.Projects
- 1 Active
-
FWOAL995: Allocating isolation levels to database transactions
1/01/21 → 31/12/24
Project: Fundamental
Prizes
-
PODS 2023 Distinguished Paper Award
Ketsman, Bas (Recipient), 2023
Prize: Prize (including medals and awards)