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 条
  • [41] Posterior Snapshot Isolation
    Zhou, Xuan
    Zhou, Xin
    Yu, Zhengtai
    Tan, Kian-Lee
    2017 IEEE 33RD INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE 2017), 2017, : 797 - 808
  • [42] The Scalable Commutativity Rule: Designing Scalable Software for Multicore Processors
    Clements, Austin T.
    Kaashoek, M. Frans
    Kohler, Eddie
    Morris, Robert T.
    Zeldovich, Nickolai
    COMMUNICATIONS OF THE ACM, 2017, 60 (08) : 83 - 90
  • [43] Nonblocking Algorithms and Scalable Multicore Programming
    Al Bahra, Samy
    COMMUNICATIONS OF THE ACM, 2013, 56 (07) : 50 - 61
  • [44] The Scalable Commutativity Rule: Designing Scalable Software for Multicore Processors
    Clements, Austin T.
    Kaashoek, M. Frans
    Zeldovich, Nickolai
    Morris, Robert T.
    Kohler, Eddie
    ACM TRANSACTIONS ON COMPUTER SYSTEMS, 2015, 32 (04):
  • [45] Analysing Snapshot Isolation
    Cerone, Andrea
    Gotsman, Alexey
    JOURNAL OF THE ACM, 2018, 65 (02)
  • [46] On the Scalability of Snapshot Isolation
    Ardekani, Masoud Saeida
    Sutra, Pierre
    Shapiro, Marc
    Preguica, Nuno
    EURO-PAR 2013 PARALLEL PROCESSING, 2013, 8097 : 369 - 381
  • [47] Scalable Suffix Sorting on a Multicore Machine
    Xie, Jing Yi
    Nong, Ge
    Lao, Bin
    Xu, Wentao
    IEEE TRANSACTIONS ON COMPUTERS, 2020, 69 (09) : 1364 - 1375
  • [48] Nonblocking algorithms and scalable multicore programming
    Al Bahra, Samy
    Queue, 2013, 11 (05):
  • [49] A Scalable Ordering Primitive for Multicore Machines
    Kashyap, Sanidhya
    Min, Changwoo
    Kim, Kangnyeon
    Kim, Taesoo
    EUROSYS '18: PROCEEDINGS OF THE THIRTEENTH EUROSYS CONFERENCE, 2018,
  • [50] A Scalable Test Structure for Multicore Chip
    Das, Sukanta
    Sikdar, Biplab K.
    IEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, 2010, 29 (01) : 127 - 137