EUVIMEDEUVIMED entdecken
Crossref

Efficient Black-Box Checking of Snapshot Isolation in Databases

Kaile Huang, Si Liu, Zhenge Chen, Hengfeng Wei, David Basin, Haixiang Li, Anqun Pan

Proceedings of the VLDB Endowment · 2023-02 · 16 (6) · 1264-1276

DOI: 10.14778/3583140.3583145 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Proceedings of the VLDB Endowment, online erschienen am 20.04.2023. Verfasst von Kaile Huang und 6 weiteren Autor:innen. Die Arbeit wurde bisher 17-mal zitiert (Crossref) und nennt 47 Literaturangaben.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Snapshot isolation (SI) is a prevalent weak isolation level that avoids the performance penalty imposed by serializability and simultaneously prevents various undesired data anomalies. Nevertheless, SI anomalies have recently been found in production cloud databases that claim to provide the SI guarantee. Given the complex and often unavailable internals of such databases, a black-box SI checker is highly desirable. In this paper we present PolySI, a black-box checker that efficiently checks SI and provides understandable counterexamples upon detecting violations. PolySI builds on a characterization of SI using generalized polygraphs (GPs), for which we establish its soundness and completeness. PolySI employs an SMT solver and also accelerates SMT solving by utilizing a compact constraint encoding of GPs and domain-specific optimizations for pruning constraints. As our extensive assessment demonstrates, PolySI successfully reproduces all of 2477 known SI anomalies, detects novel SI violations in three production cloud databases, identifies their causes, outperforms the state-of-the-art black-box checkers under a wide range of workloads, and can scale up to large workloads.

Zitieren

APA

Huang, K., Liu, S., Chen, Z., Wei, H., Basin, D., Li, H., & Pan, A. (2023). Efficient Black-Box Checking of Snapshot Isolation in Databases. Proceedings of the VLDB Endowment, 16(6), 1264-1276. https://doi.org/10.14778/3583140.3583145

Vancouver

Huang K, Liu S, Chen Z, Wei H, Basin D, Li H, et al. Efficient Black-Box Checking of Snapshot Isolation in Databases. Proceedings of the VLDB Endowment. 2023;16(6):1264-1276. doi:10.14778/3583140.3583145

BibTeX
@article{Huang2023,
  author = {Huang, Kaile and Liu, Si and Chen, Zhenge and Wei, Hengfeng and Basin, David and Li, Haixiang and Pan, Anqun},
  title = {Efficient Black-Box Checking of Snapshot Isolation in Databases},
  journal = {Proceedings of the VLDB Endowment},
  year = {2023},
  volume = {16},
  number = {6},
  pages = {1264--1276},
  doi = {10.14778/3583140.3583145}
}
Kostenlos starten →