跳到主要导航 跳到搜索 跳到主要内容

Leopard: A Black-Box Approach for Efficiently Verifying Various Isolation Levels

  • East China Normal University
  • Alibaba Group Holding Ltd.

科研成果: 书/报告/会议事项章节 › 会议稿件 › 同行评审

摘要

Isolation Levels (IL) act as correct contracts between applications and database management systems (DBMSs). The complex code logic and concurrent interactions among transactions make it a hard problem to expose violations of various ILs stated by DBMSs. With the recent proliferation of new DBMSs, especially the cloud ones, there is an urgent demand for a general way to verify various ILs. The core challenges come from the requirements of: (a) lightweight (verifying without modifying the application logic in workloads and the source code of DBMSs), (b) generality (verifying various ILs), and (c) efficiency (performing efficient verification on a long running workload). For lightweight, we propose to deduce transaction dependencies based on time intervals of operations collected from client-sides without touching the source code of DBMSs. For generality, based on a thorough analysis of existing concurrency control protocols, we summarize and abstract four mechanisms which can implement ILs in all commercial DBMSs we have investigated. For efficiency, we design a two-level pipeline to organize and sort massive time intervals in a time and memory conservative way; we propose a mechanism-mirrored verification to simulate the concurrency control protocols implemented in DBMSs for high throughputs. Leopard outperforms existing methods by up to 114× in verification time with a relative small memory usage. In practice, Leopard has a superpower to verify various ILs on any workload running on all commercial DBMSs. Moreover, it has successfully discovered 23 bugs that cannot be found by other existing methods.

源语言英语
主期刊名Proceedings - 2023 IEEE 39th International Conference on Data Engineering, ICDE 2023
出版商IEEE Computer Society
页722-735
页数14
ISBN(电子版)9798350322279
DOI
出版状态已出版 - 2023
活动39th IEEE International Conference on Data Engineering, ICDE 2023 - Anaheim, 美国
期限: 3 4月 2023 → 7 4月 2023

丛书

姓名Proceedings - International Conference on Data Engineering
卷2023-April
ISSN(印刷版)1084-4627

会议

会议39th IEEE International Conference on Data Engineering, ICDE 2023
国家/地区美国
市Anaheim
时期3/04/23 → 7/04/23

学术指纹

探究 'Leopard: A Black-Box Approach for Efficiently Verifying Various Isolation Levels' 的科研主题。它们共同构成独一无二的学术指纹。

引用此