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 条
  • [31] A Highly Scalable Index Structure for Multicore In-Memory Database Systems
    Mitake, Hitoshi
    Yamada, Hiroshi
    Nakajima, Tatsuo
    INTELLIGENT DISTRIBUTED COMPUTING XIII, 2020, 868 : 210 - 217
  • [32] A scalable lock on NUMA multicore
    Yi, ZhengMing
    Yao, YiPing
    CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2020, 32 (24):
  • [33] A concurrent architecture for serializable production systems
    Amaral, JN
    Ghosh, J
    IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 1996, 7 (12) : 1265 - 1280
  • [34] Correctness Criteria for Replicated Database Systems with Snapshot Isolation Replicas
    Armendariz-Inigo, J. E.
    Juarez-Rodriguez, J. R.
    Gonzalez de Mendivil, J. R.
    Munoz-Escoi, F. D.
    PODC'08: PROCEEDINGS OF THE 27TH ANNUAL ACM SYMPOSIUM ON PRINCIPLES OF DISTRIBUTED COMPUTING, 2008, : 422 - 422
  • [35] Toward scalable Web systems on multicore clusters: making use of virtual machines
    Shi, Xuanhua
    Jin, Hai
    Jiang, Hongbo
    Pan, Xiaodong
    Huang, Dachuan
    Yu, Bo
    JOURNAL OF SUPERCOMPUTING, 2012, 61 (01): : 27 - 45
  • [36] Efficient Snapshot Isolation in Paxos-Replicated Database Systems
    Guo, Jinwei
    Cai, Peng
    Xiao, Bing
    Qian, Weining
    Zhou, Aoying
    DATABASE SYSTEMS FOR ADVANCED APPLICATIONS (DASFAA 2018), PT II, 2018, 10828 : 649 - 665
  • [37] Scalable Communication-aware Task Mapping Algorithms for Interconnected Multicore Systems
    Chung, I-Hsin
    Lee, Che-Rung
    Zhou, Jiazheng
    Chou, Chung-Yi
    Chung, Yeh-Ching
    2012 IEEE 26TH INTERNATIONAL PARALLEL AND DISTRIBUTED PROCESSING SYMPOSIUM WORKSHOPS & PHD FORUM (IPDPSW), 2012, : 187 - 192
  • [38] Toward scalable Web systems on multicore clusters: making use of virtual machines
    Xuanhua Shi
    Hai Jin
    Hongbo Jiang
    Xiaodong Pan
    Dachuan Huang
    Bo Yu
    The Journal of Supercomputing, 2012, 61 : 27 - 45
  • [39] On the Semantics of Snapshot Isolation
    Raad, Azalea
    Lahav, Ori
    Vafeiadis, Viktor
    VERIFICATION, MODEL CHECKING, AND ABSTRACT INTERPRETATION, VMCAI 2019, 2019, 11388 : 1 - 23
  • [40] Analysing Snapshot Isolation
    Cerone, Andrea
    Gotsman, Alexey
    PROCEEDINGS OF THE 2016 ACM SYMPOSIUM ON PRINCIPLES OF DISTRIBUTED COMPUTING (PODC'16), 2016, : 55 - 64