Brecht Vandevoort ; Bas Ketsman ; Christoph Koch ; Frank Neven - Robustness against Read Committed for Transaction Templates with Functional Constraints

lmcs:10173 - Logical Methods in Computer Science, December 25, 2023, Volume 19, Issue 4 - https://doi.org/10.46298/lmcs-19(4:39)2023
Robustness against Read Committed for Transaction Templates with Functional ConstraintsArticle

Authors: Brecht Vandevoort ; Bas Ketsman ; Christoph Koch ; Frank Neven

    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.


    Volume: Volume 19, Issue 4
    Published on: December 25, 2023
    Accepted on: September 26, 2023
    Submitted on: October 18, 2022
    Keywords: Computer Science - Databases,Computer Science - Logic in Computer Science

    Classifications

    Mathematics Subject Classification 20201

    Consultation statistics

    This page has been seen 1166 times.
    This article's PDF has been downloaded 237 times.