Scalable Serializable Snapshot Isolation for Multicore Systems

被引:0
|
作者
Han, Hyuck [1 ]
Park, SeongJae [2 ]
Jung, Hyungsoo [3 ]
Fekete, Alan [3 ]
Roehm, Uwe [3 ]
Yeom, Heon Y. [2 ]
机构
[1] Dongduk Womens Univ, Seoul, South Korea
[2] Seoul Natl Univ, Seoul, South Korea
[3] Univ Sydney, Sydney, NSW 2006, Australia
关键词
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Since 1990's, Snapshot Isolation (SI) has been widely studied, and it was successfully deployed in commercial and open-source database engines. Berenson et al. showed that data consistency can be violated under SI. Recently, a new class of Serializable SI algorithms (SSI) has been proposed to achieve serializable execution while still allowing concurrency between reads and updates. In a prior study, we analyzed the multicore scalability of SSI-based database engines, and found that the previous implementations of SSI do not scale well as core counts of underlying hardware increase, due to latch contention on internal data structures. This paper proposes a new approach to implement SSI, detecting the required read-write conflict conditions at runtime without needing to latch the transaction manager's internal structures. We show how execution paths for SSI inside a database engine can be run in parallel on behalf of concurrent transactions. We prototyped our SSI implementation based on MySQL-5.6.10. It scales well on Intel 4-way 32 core machine and outperforms the original implementation by up to 20X, while sustaining its high throughput over 500 clients.
引用
收藏
页码:700 / 711
页数: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] Precisely Serializable Snapshot Isolation (PSSI)
    Revilak, Stephen
    O'Neil, Patrick
    O'Neil, Elizabeth
    IEEE 27TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE 2011), 2011, : 482 - 493
  • [6] 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
  • [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