This program is tentative and subject to change.
\emph{Database isolation} is a formal contract concerning the level of data consistency that a database provides to its clients.
In order to achieve low latency, high throughput, and partition tolerance, modern databases forgo strong transaction isolation for \emph{weak isolation} guarantees.
However, several production databases have been found to suffer from \emph{isolation bugs}, breaking their data-consistency contract.
\emph{Black-box testing} is a prominent technique for detecting isolation bugs, by checking whether histories of database transactions adhere to a prescribed isolation level.
In order to test databases on realistic workloads of large size, isolation testers must be as efficient as possible, a requirement that has initiated a study of the complexity of isolation testing.
Although testing strong isolation has been known to be NP-complete,
weak isolation levels were recently shown to be testable in polynomial time,
which has propelled the scalability of testing tools.
However, existing testers have a large polynomial complexity, restricting testing to workloads of only moderate size, which is not typical of large-scale databases.
\emph{How efficiently can we provably test weak database isolation?}
In this work, we develop AWDIT, \emph{a highly-efficient and provably optimal tester for weak database isolation}.
Given a history $H$ of size $n$ and $k$ sessions, AWDIT tests whether $H$ satisfies the most common weak isolation levels of Read Committed (\textsf{RC}), Read Atomic (\textsf{RA}), and Causal Consistency (\textsf{CC}) in time $O(n^{3/2})$, $O(n^{3/2})$, and $O(n\cdot k)$, respectively, improving significantly over the state of the art.
Moreover, we prove that AWDIT is essentially \emph{optimal}, in the sense that there is a lower bound of $n^{3/2}$, based on the combinatorial BMM hypothesis, for \emph{any} weak isolation level between \textsf{RC} and \textsf{CC}.
Our experiments show that AWDIT is significantly faster than existing, highly optimized testers; e.g., for the $\sim$20% largest histories, AWDIT obtains an average speedup of $245\times$, $193\times$, and $62\times$ for \textsf{RC}, \textsf{RA}, and \textsf{CC}, respectively, over the best baseline.
This program is tentative and subject to change.
Fri 20 JunDisplayed time zone: Seoul change
14:00 - 15:20 | |||
14:00 20mTalk | Polygon: Symbolic Reasoning for SQL using Conflict-Driven Under-Approximation Search PLDI Research Papers Pinhan Zhao University of Michigan, Yuepeng Wang Simon Fraser University, Xinyu Wang University of Michigan DOI Pre-print | ||
14:20 20mTalk | Pointer Analysis for Database-Backed Applications PLDI Research Papers Yufei Liang Nanjing University, Teng Zhang Nanjing University, Ganlin Li Nanjing University, Tian Tan Nanjing University, Chang Xu Nanjing University, Chun Cao Nanjing University, Xiaoxing Ma Nanjing University, Yue Li Nanjing University DOI | ||
14:40 20mTalk | Graphiti: Bridging Graph and Relational Database Queries PLDI Research Papers Yang He Simon Fraser University, Ruijie Fang University of Texas at Austin, Işıl Dillig University of Texas at Austin, Yuepeng Wang Simon Fraser University DOI | ||
15:00 20mTalk | AWDIT: An Optimal Weak Database Isolation Tester PLDI Research Papers DOI |