Precisely Serializable Snapshot Isolation (PSSI)

被引:0
|
作者
Revilak, Stephen [1 ]
O'Neil, Patrick [1 ]
O'Neil, Elizabeth [1 ]
机构
[1] Univ Massachusetts, Boston, MA 02125 USA
关键词
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 条
  • [1] Declarative Serializable Snapshot Isolation
    Tilgner, Christian
    Glavic, Boris
    Boehlen, Michael
    Kanne, Carl-Christian
    ADVANCES IN DATABASES AND INFORMATION SYSTEMS, 2011, 6909 : 170 - +
  • [2] Making snapshot isolation serializable
    Fekete, A
    Liarokapis, D
    O'Neil, E
    O'Neil, P
    Shasha, D
    ACM TRANSACTIONS ON DATABASE SYSTEMS, 2005, 30 (02): : 492 - 528
  • [3] Serializable Snapshot Isolation in PostgreSQL
    Ports, Dan R. K.
    Grittner, Kevin
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2012, 5 (12): : 1850 - 1861
  • [4] Serializable Isolation for Snapshot Databases
    Cahill, Michael J.
    Roehm, Uwe R.
    Fekete, Alan D.
    ACM TRANSACTIONS ON DATABASE SYSTEMS, 2009, 34 (04):
  • [5] Performance Evaluation of Serializable Snapshot Isolation in PostgreSQL
    Zendaoui, Fairouz
    Hidouci, Walid Khaled
    2015 12TH IEEE INTERNATIONAL CONFERENCE ON PROGRAMMING AND SYSTEMS (ISPS), 2015, : 88 - 98
  • [6] Scalable Serializable Snapshot Isolation for Multicore Systems
    Han, Hyuck
    Park, SeongJae
    Jung, Hyungsoo
    Fekete, Alan
    Roehm, Uwe
    Yeom, Heon Y.
    2014 IEEE 30TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE), 2014, : 700 - 711
  • [7] Determining serialization order for serializable snapshot isolation
    O'Neil, Elizabeth J.
    O'Neil, Patrick E.
    INFORMATION SYSTEMS, 2016, 58 : 14 - 23
  • [8] Timestamp reassignment: taming transaction abort for serializable snapshot isolation
    Zhou, Ningnan
    Zhang, Xiao
    Wang, Shan
    FRONTIERS OF COMPUTER SCIENCE, 2019, 13 (06) : 1282 - 1295
  • [9] A Robust Technique to Ensure Serializable Executions with Snapshot Isolation DBMS
    Alomari, Mohammad
    Fekete, Alan
    Roehm, Uwe
    ICDE: 2009 IEEE 25TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING, VOLS 1-3, 2009, : 341 - 352
  • [10] Timestamp reassignment: taming transaction abort for serializable snapshot isolation
    Ningnan Zhou
    Xiao Zhang
    Shan Wang
    Frontiers of Computer Science, 2019, 13 : 1282 - 1295