Saved in:
Bibliographic Details
Main Authors: Vandevoort, Brecht, Ketsman, Bas, Koch, Christoph, Neven, Frank
Format: Preprint
Published: 2022
Subjects:
Online Access:https://arxiv.org/abs/2201.05021
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911775799115776
author Vandevoort, Brecht
Ketsman, Bas
Koch, Christoph
Neven, Frank
author_facet Vandevoort, Brecht
Ketsman, Bas
Koch, Christoph
Neven, Frank
contents The popular isolation level Multiversion Read Committed (RC) trades some of the strong guarantees of serializability for increased transaction throughput. Sometimes, transaction workloads can be safely executed under RC obtaining serializability at the lower cost of RC. Such workloads are said to be robust against RC. Previous work has yielded a tractable procedure for deciding robustness against RC for workloads generated by transaction programs modeled as transaction templates. An important insight of that work is that, by more accurately modeling transaction programs, we are able to recognize larger sets of workloads as robust. In this work, we increase the modeling power of transaction templates by extending them with functional constraints, which are useful for capturing data dependencies like foreign keys. We show that the incorporation of functional constraints can identify more workloads as robust that otherwise would not be. Even though we establish that the robustness problem becomes undecidable in its most general form, we show that various restrictions on functional constraints lead to decidable and even tractable fragments that can be used to model and test for robustness against RC for realistic scenarios.
format Preprint
id arxiv_https___arxiv_org_abs_2201_05021
institution arXiv
publishDate 2022
record_format arxiv
spellingShingle Robustness against Read Committed for Transaction Templates with Functional Constraints
Vandevoort, Brecht
Ketsman, Bas
Koch, Christoph
Neven, Frank
Databases
Logic in Computer Science
The popular isolation level Multiversion Read Committed (RC) trades some of the strong guarantees of serializability for increased transaction throughput. Sometimes, transaction workloads can be safely executed under RC obtaining serializability at the lower cost of RC. Such workloads are said to be robust against RC. Previous work has yielded a tractable procedure for deciding robustness against RC for workloads generated by transaction programs modeled as transaction templates. An important insight of that work is that, by more accurately modeling transaction programs, we are able to recognize larger sets of workloads as robust. In this work, we increase the modeling power of transaction templates by extending them with functional constraints, which are useful for capturing data dependencies like foreign keys. We show that the incorporation of functional constraints can identify more workloads as robust that otherwise would not be. Even though we establish that the robustness problem becomes undecidable in its most general form, we show that various restrictions on functional constraints lead to decidable and even tractable fragments that can be used to model and test for robustness against RC for realistic scenarios.
title Robustness against Read Committed for Transaction Templates with Functional Constraints
topic Databases
Logic in Computer Science
url https://arxiv.org/abs/2201.05021