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 条
  • [31] Snapshot Isolation and Integrity Constraints in Replicated Databases
    Lin, Yi
    Kemme, Bettina
    Jimenez-Peris, Ricardo
    Patino-Martinez, Marta
    Enrique Armendariz-Inigo, Jose
    ACM TRANSACTIONS ON DATABASE SYSTEMS, 2009, 34 (02):
  • [32] The cost of serializability on platforms that use Snapshot Isolation
    Alomari, Mohammad
    Cahill, Michael
    Fekete, Alan
    Roehm, Uwe
    2008 IEEE 24TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING, VOLS 1-3, 2008, : 576 - 585
  • [33] Efficient Correction of Anomalies in Snapshot Isolation Transactions
    Litz, Heiner
    Dias, Ricardo J.
    Cheriton, David R.
    ACM TRANSACTIONS ON ARCHITECTURE AND CODE OPTIMIZATION, 2014, 11 (04)
  • [34] Database replication using generalized snapshot isolation
    Elnikety, S
    Pedone, F
    Zwaenepoel, W
    24TH IEEE SYMPOSIUM ON RELIABLE DISTRIBUTED SYSTEMS, PROCEEDINGS, 2005, : 73 - 84
  • [35] KVell plus : Snapshot Isolation without Snapshots
    Lepers, Baptiste
    Balmau, Oana
    Gupta, Karan
    Zwaenepoel, Willy
    PROCEEDINGS OF THE 14TH USENIX SYMPOSIUM ON OPERATING SYSTEMS DESIGN AND IMPLEMENTATION (OSDI '20), 2020, : 425 - 441
  • [36] A Probabilistic Analysis of Snapshot Isolation with Partial Replication
    Bernabe-Gisbert, Josep M.
    Munoz-Escoi, Francesc D.
    Zuikeviciute, Vaide
    Pedone, Fernando
    PROCEEDINGS OF THE SYMPOSIUM ON RELIABLE DISTRIBUTED SYSTEMS, 2008, : 249 - +
  • [37] Reenactment for Read-Committed Snapshot Isolation
    Arab, Bahareh Sadat
    Gawlick, Dieter
    Krishnaswamy, Vasudha
    Radhakrishnan, Venkatesh
    Glavic, Boris
    CIKM'16: PROCEEDINGS OF THE 2016 ACM CONFERENCE ON INFORMATION AND KNOWLEDGE MANAGEMENT, 2016, : 841 - 850
  • [38] On Reading Fresher Snapshots in Parallel Snapshot Isolation
    Kishi, Masoomeh Javidi
    Palmieri, Roberto
    2020 IEEE 40TH INTERNATIONAL CONFERENCE ON DISTRIBUTED COMPUTING SYSTEMS (ICDCS), 2020, : 1205 - 1206
  • [39] Causally Coordinated Snapshot Isolation for Geographically Replicated Data
    Padhye, Vinit
    Tripathi, Anand
    2012 31ST INTERNATIONAL SYMPOSIUM ON RELIABLE DISTRIBUTED SYSTEMS (SRDS 2012), 2012, : 261 - 266
  • [40] Accelerating GPU Hardware Transactional Memory with Snapshot Isolation
    Chen, Sui
    Peng, Lu
    Irving, Samuel
    44TH ANNUAL INTERNATIONAL SYMPOSIUM ON COMPUTER ARCHITECTURE (ISCA 2017), 2017, : 282 - 294