论文标题

对具有功能约束的交易模板的读取的鲁棒性

Robustness against Read Committed for Transaction Templates with Functional Constraints

论文作者

Vandevoort, Brecht, Ketsman, Bas, Koch, Christoph, Neven, Frank

论文摘要

流行的隔离水平多元读取(RC)交易了一些强大的序列化性,以增加交易吞吐量。有时,可以根据RC安全执行交易工作负载,以较低的RC成本获得序列化。据说这样的工作量对RC是强大的。以前的工作已经产生了一个可拖动的程序,以确定针对RC的鲁棒性,以用于由事务模板建模的事务程序生成的工作负载。对该工作的一个重要见解是,通过更准确地对交易程序进行建模,我们能够识别出较大的工作负载集为强大。在这项工作中,我们通过使用功能约束来扩展交易模板的建模能力,这对于捕获诸如外键之类的数据依赖性很有用。我们表明,功能约束的合并可以识别出更多的工作负载是可靠的,否则就不会。即使我们确定鲁棒性问题在其最一般的形式中变得无法确定,但我们表明,对功能约束的各种限制会导致可决定甚至可拖动的片段,这些片段可用于对现实情况进行建模和测试针对RC的鲁棒性。

The popular isolation level Multiversion Read Committed (RC) trades some of the strong guarantees of serializability for increased transaction throughput. Sometimes, transaction workloads can be safely executed under RC obtaining serializability at the lower cost of RC. Such workloads are said to be robust against RC. Previous work has yielded a tractable procedure for deciding robustness against RC for workloads generated by transaction programs modeled as transaction templates. An important insight of that work is that, by more accurately modeling transaction programs, we are able to recognize larger sets of workloads as robust. In this work, we increase the modeling power of transaction templates by extending them with functional constraints, which are useful for capturing data dependencies like foreign keys. We show that the incorporation of functional constraints can identify more workloads as robust that otherwise would not be. Even though we establish that the robustness problem becomes undecidable in its most general form, we show that various restrictions on functional constraints lead to decidable and even tractable fragments that can be used to model and test for robustness against RC for realistic scenarios.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源