Please use this identifier to cite or link to this item: http://hdl.handle.net/1942/39424
Title: Deciding Robustness for Lower SQL Isolation Levels
Authors: KETSMAN, Bas 
Koch, Christoph
NEVEN, Frank 
VANDEVOORT, Brecht 
Issue Date: 2022
Publisher: ASSOC COMPUTING MACHINERY
Source: ACM TRANSACTIONS ON DATABASE SYSTEMS, 47 (4) (Art N° 13)
Abstract: While serializability always guarantees application correctness, lower isolation levels can be chosen to improve transaction throughput at the risk of introducing certain anomalies. A set of transactions is robust against a given isolation level if every possible interleaving of the transactions under the specified isolation level is serializable. Robustness therefore always guarantees application correctness with the performance benefit of the lower isolation level. While the robustness problem has received considerable attention in the literature, only sufficient conditions have been obtained. The most notable exception is the seminal work by Fekete where he obtained a characterization for deciding robustness against SNAPSHOT ISOLATION. In this article, we address the robustness problem for the lower SQL isolation levels READ UNCOMMITTED and READ COMMITTED, which are defined in terms of the forbidden dirty write and dirty read patterns. The first main contribution of this article is that we characterize robustness against both isolation levels in terms of the absence of counter-example schedules of a specific form (split and multi-split schedules) and by the absence of cycles in interference graphs that satisfy various properties. A critical difference with Fekete's work, is that the properties of cycles obtained in this article have to take the relative ordering of operations within transactions into account as READ UNCOMMITTED and READ COMMITTED do not satisfy the atomic visibility requirement. A particular consequence is that the latter renders the robustness problem against READ COMMITTED coNP-complete. The second main contribution of this article is the coNP-hardness proof. For READ UNCOMMITTED, we obtain LOGSPACE-completeness.
Notes: Vandevoort, B (corresponding author), UHasselt, ACSL, Data Sci Inst, Agoralaan Gebouw D, B-3590 Diepenbeek, Belgium.
bas.ketsman@vub.be; christoph.koch@epfl.ch; frank.neven@uhasselt.be;
brecht.vandevoort@uhasselt.be
Keywords: Concurrency control;SQL isolation levels
Document URI: http://hdl.handle.net/1942/39424
ISSN: 0362-5915
e-ISSN: 1557-4644
DOI: 10.1145/3561049
ISI #: 000910164500001
Rights: 2022 Copyright held by the owner/author(s). Publication rights licensed to ACM
Category: A1
Type: Journal Contribution
Appears in Collections:Research publications

Files in This Item:
File Description SizeFormat 
Deciding Robustness for Lower SQL Isolation Levels.pdf
  Restricted Access
Published version867.98 kBAdobe PDFView/Open    Request a copy
Deciding Robustness for Lower SQL Isolation Levels.pdfPeer-reviewed author version808.98 kBAdobe PDFView/Open
Show full item record

Google ScholarTM

Check

Altmetric


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.