Precisely Serializable Snapshot Isolation (PSSI)

被引:0
|
作者
Revilak, Stephen [1 ]
O'Neil, Patrick [1 ]
O'Neil, Elizabeth [1 ]
机构
[1] Univ Massachusetts, Boston, MA 02125 USA
来源
IEEE 27TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE 2011) | 2011年
关键词
D O I
暂无
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Many popular database management systems provide snapshot isolation (SI) for concurrency control, either in addition to or in place of full serializability based on locking. Snapshot isolation was introduced in 1995 [2], with noted anomalies that can lead to serializability violations. Full serializability was provided in 2008 [4] and improved in 2009 [5] by aborting transactions in dangerous structures, which had been shown in 2005 [9] to be precursors to potential SI anomalies. This approach resulted in a runtime environment guaranteeing a serializable form of snapshot isolation (which we call SSI [4] or ESSI [5]) for arbitrary applications. But transactions in a dangerous structure frequently do not cause true anomalies so, as the authors point out, their method is conservative: it can cause unnecessary aborts. In the current paper, we demonstrate our PSSI algorithm to detect cycles in a snapshot isolation dependency graph and abort transactions to break the cycle. This algorithm provides a much more precise criterion to perform aborts. We have implemented our algorithm in an open source production database system (MySQL/InnoDB), and our performance study shows that PSSI throughput improves on ESSI, with significantly fewer aborts.
引用
收藏
页码:482 / 493
页数:12
相关论文
共 50 条
  • [21] On the Scalability of Snapshot Isolation
    Ardekani, Masoud Saeida
    Sutra, Pierre
    Shapiro, Marc
    Preguica, Nuno
    EURO-PAR 2013 PARALLEL PROCESSING, 2013, 8097 : 369 - 381
  • [22] Towards consistent snapshot isolation
    El-Makky, Nagwa M.
    AEJ - Alexandria Engineering Journal, 2009, 48 (04): : 365 - 380
  • [23] VIPER: A Fast Snapshot Isolation Checker
    Zhang, Jian
    Ji, Ye
    Mu, Shuai
    Tan, Cheng
    PROCEEDINGS OF THE EIGHTEENTH EUROPEAN CONFERENCE ON COMPUTER SYSTEMS, EUROSYS 2023, 2023, : 654 - 671
  • [24] Federated transaction management with snapshot isolation
    Schenkel, R
    Weikum, G
    Weissenberg, N
    Wu, XQ
    TRANSACTIONS AND DATABASE DYNAMICS, 2000, 1773 : 1 - 25
  • [25] Constraint-preserving snapshot isolation
    Hegner, Stephen J.
    ANNALS OF MATHEMATICS AND ARTIFICIAL INTELLIGENCE, 2016, 76 (3-4) : 281 - 326
  • [26] Checking Robustness Against Snapshot Isolation
    Beillahi, Sidi Mohamed
    Bouajjani, Ahmed
    Enea, Constantin
    COMPUTER AIDED VERIFICATION, CAV 2019, PT II, 2019, 11562 : 286 - 304
  • [27] ISOLATION BARRIER PRECISELY PASSES TRANSDUCER SIGNALS
    GREENWALD, JA
    EDN, 1990, 35 (13) : 189 - &
  • [28] Integrating snapshot isolation into transactional federations
    Schenkel, R
    Weikum, G
    COOPERATIVE INFORMATION SYSTEMS, PROCEEDINGS, 2000, 1901 : 90 - 101
  • [29] Transaction Chopping for Parallel Snapshot Isolation
    Cerone, Andrea
    Gotsman, Alexey
    Yang, Hongseok
    DISTRIBUTED COMPUTING (DISC 2015), 2015, 9363 : 388 - 404
  • [30] Constraint-preserving snapshot isolation
    Stephen J. Hegner
    Annals of Mathematics and Artificial Intelligence, 2016, 76 : 281 - 326