Lightweight Locking for Main Memory Database Systems

被引:36
|
作者
Ren, Kun [1 ,2 ]
Thomson, Alexander [1 ]
Abadi, Daniel J. [1 ]
机构
[1] Northwestern Polytech Univ, Xian, Peoples R China
[2] Yale Univ, New Haven, CT 06520 USA
来源
PROCEEDINGS OF THE VLDB ENDOWMENT | 2012年 / 6卷 / 02期
基金
美国国家科学基金会; 中国国家自然科学基金;
关键词
D O I
10.14778/2535568.2448947
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Locking is widely used as a concurrency control mechanism in database systems. As more OLTP databases are stored mostly or entirely in memory, transactional throughput is less and less limited by disk IO, and lock managers increasingly become performance bottlenecks. In this paper, we introduce very lightweight locking (VLL), an alternative approach to pessimistic concurrency control for main-memory database systems that avoids almost all overhead associated with traditional lock manager operations. We also propose a protocol called selective contention analysis (SCA), which enables systems implementing VLL to achieve high transactional throughput under high contention workloads. We implement these protocols both in a traditional single-machine multi-core database server setting and in a distributed database where data is partitioned across many commodity machines in a shared-nothing cluster. Our experiments show that VLL dramatically reduces locking overhead and thereby increases transactional throughput in both settings.
引用
收藏
页码:145 / 156
页数:12
相关论文
共 50 条
  • [1] Dependence-Cognizant Locking Improvement for the Main Memory Database Systems
    Pei, Ouya
    Li, Zhanhuai
    Du, Hongtao
    Liu, Wenjie
    Gao, Jintao
    [J]. MATHEMATICAL PROBLEMS IN ENGINEERING, 2021, 2021
  • [2] Main memory database systems
    Faerber, Franz
    Kemper, Alfons
    Larson, Per-Åke
    Levandoski, Justin
    Neumann, Thomas
    Pavlo, Andrew
    [J]. Foundations and Trends in Databases, 2017, 8 (1-2): : 1 - 130
  • [3] Lightweight multigranularity locking for transaction management in XML database systems
    Choi, YG
    Moon, SC
    [J]. JOURNAL OF SYSTEMS AND SOFTWARE, 2005, 78 (01) : 37 - 46
  • [4] Main-Memory Database Systems
    Kemper, Alfons
    Neumann, Thomas
    [J]. 2014 IEEE 30TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE), 2014, : 1310 - 1310
  • [5] Recovery in main memory database systems
    Kumar, V
    [J]. DATABASE AND EXPERT SYSTEMS APPLICATIONS, 1996, 1134 : 769 - 778
  • [6] Design and implementation of a real-time static locking protocol for main-memory database systems
    Kim, JH
    Kim, YC
    You, HY
    Kim, J
    Ok, SH
    [J]. ADVANCES IN INFORMATION SYSTEMS, PROCEEDINGS, 2004, 3261 : 353 - 362
  • [7] Highly concurrent locking in shared memory database systems
    Jacobi, C
    Lichtenau, C
    [J]. EURO-PAR'99: PARALLEL PROCESSING, 1999, 1685 : 477 - 481
  • [8] Revisiting Reuse in Main Memory Database Systems
    Dursun, Kayhan
    Binnig, Carsten
    Cetintemel, Ugur
    Kraska, Tim
    [J]. SIGMOD'17: PROCEEDINGS OF THE 2017 ACM INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA, 2017, : 1275 - 1289
  • [9] Modern Main-Memory Database Systems
    Larson, Per-Ake
    Levandoski, Justin
    [J]. PROCEEDINGS OF THE VLDB ENDOWMENT, 2016, 9 (13): : 1609 - +
  • [10] MAIN MEMORY DATABASE-SYSTEMS - AN OVERVIEW
    GARCIAMOLINA, H
    SALEM, K
    [J]. IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 1992, 4 (06) : 509 - 516