Back to search

The Ohio State University

Exploring Transaction Anomalies under Weak Isolation Levels for General Database Applications

Abstract

dc:description

Weak isolation levels, such as Read Committed and Snapshot Isolation, are widely used by databases for their higher concurrency and better performance, but may introduce subtle correctness errors in applications that only experts can identify. To help developers debug the anomalies caused by weak isolation, we proposed IsoDiff, a tool to analyze transactions in database applications and identify possible anomalous executions under given weak isolation levels. To address the challenge that the number of anomalies can be non-polynomial with respect to the number of types of transactions, IsoDiff finds a representative subset of anomalies involving different transactions, operations, and problematic patterns. To reduce false positives, IsoDiff proposes two novel methods: 1) correlation detection; 2) timing relationship check, to eliminate as many false positives as possible. We further extend the work of IsoDiff on several respects. First, we design a random yet deterministic mechanism to provide stable performance and consistent result with control of single random seed. Second, we incorporate domain knowledge from developer via a generalized feedback framework to allow developers express their requirements and eliminate false positives with their specific usage scenarios. Third, we make augmentation on IsoDiff in consideration of practical database management system settings. To show the effectiveness, we evaluate IsoDiff against TPC-C and other real applications under Snapshot Isolation and Read Committed, showing that IsoDiff can balance computation time and the coverage of anomalies; it can automatically eliminate a significant portion of false positives; and its feedback mechanism allows a developer to express the root cause of false positives, which can eliminate many false positives with only a small number of developer hints. The extensive evaluation on IsoDiff shows its generalizability and flexibility of handling various requirements from database management system and database application developers.

Degree

thesis:*
Name thesis:degree_name
Doctor of Philosophy
Level thesis:degree_level
doctoral
Discipline thesis:degree_discipline
Computer Science and Engineering
Grantor dc:publisher
The Ohio State University
Year dc:date
2021

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Gan, Yifan
Advisor dc:contributor.advisor
  • Wang, Yang

Subjects

dc:subject × 6

Rights

dc:rights
Statement dc:rights
  • unrestricted
  • This thesis or dissertation is protected by copyright: all rights reserved. It may not be copied or redistributed beyond the terms of applicable copyright laws.
Language dc:language
English

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
OhioLINK
Base URL
etd.ohiolink.edu/acprod/odb_etd/ws/oai/oai
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
citation

Gan, Yifan. Exploring Transaction Anomalies under Weak Isolation Levels for General Database Applications. doctoral thesis, The Ohio State University, 2021. http://rave.ohiolink.edu/etdc/view?acc_num=osu1638473583256795