Opportunities for optimism in contended main-memory multicore transactions

被引:0
|
作者
Yihe Huang
William Qian
Eddie Kohler
Barbara Liskov
Liuba Shrira
机构
[1] Harvard University,
[2] MIT,undefined
[3] Brandeis University,undefined
来源
The VLDB Journal | 2022年 / 31卷
关键词
D O I
暂无
中图分类号
学科分类号
摘要
Main-memory multicore transactional systems have achieved excellent performance using single-version optimistic concurrency control (OCC), especially on uncontended workloads. Nevertheless, systems based on other concurrency control protocols, such as hybrid OCC/ locking and variations on multiversion concurrency control (MVCC), are reported to outperform the best OCC systems, especially with increasing contention. This paper shows that implementation choices unrelated to concurrency control can explain some of these performance differences. Our evaluation shows the strengths and weaknesses of OCC, MVCC, and TicToc concurrency control under varying workloads and contention levels, and the importance of several implementation choices called basis factors. Given sensible basis factor choices, OCC performance does not collapse on high-contention TPC-C. We also present two optimization techniques, deferred updates and timestamp splitting, that can dramatically improve the high-contention performance of both OCC and MVCC. These techniques are known, but we apply them in a new context and highlight their potency: when combined, they lead to performance gains of 4.74×\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$4.74\times $$\end{document} for MVCC and 5.01×\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$5.01\times $$\end{document} for OCC in a TPC-C workload.
引用
收藏
页码:1239 / 1261
页数:22
相关论文
共 50 条
  • [1] Opportunities for optimism in contended main-memory multicore transactions
    Huang, Yihe
    Qian, William
    Kohler, Eddie
    Liskov, Barbara
    Shrira, Liuba
    [J]. VLDB JOURNAL, 2022, 31 (06): : 1239 - 1261
  • [2] Opportunities for Optimism in Contended Main-Memory Multicore Transactions
    Huang, Yihe
    Qian, William
    Kohler, Eddie
    Liskov, Barbara
    Shrira, Liuba
    [J]. PROCEEDINGS OF THE VLDB ENDOWMENT, 2020, 13 (05): : 629 - 642
  • [3] Efficient Main-Memory Top-K Selection For Multicore Architectures
    Zois, Vasileios
    Tsotras, Vassilis J.
    Najjar, Walid A.
    [J]. PROCEEDINGS OF THE VLDB ENDOWMENT, 2019, 13 (02): : 114 - 127
  • [4] DPAgg: A dynamic partition aggregation on multicore processor in main-memory database
    Hao, Dateng
    Sun, Li
    [J]. 2013 IEEE 15TH INTERNATIONAL CONFERENCE ON HIGH PERFORMANCE COMPUTING AND COMMUNICATIONS & 2013 IEEE INTERNATIONAL CONFERENCE ON EMBEDDED AND UBIQUITOUS COMPUTING (HPCC_EUC), 2013, : 1769 - 1777
  • [5] Research on multicore parallel query processing techniques for main-memory OLAP
    [J]. Zhang, Yan-Song, 1895, Science Press (37):
  • [6] Efficient execution of small (single-tuple) transactions in main-memory databases
    Kolltveit, Heine
    Hvasshovd, Svein-Olaf
    [J]. ADVANCES IN DATABASES AND INFORMATION SYSTEMS, PROCEEDINGS, 2008, 5207 : 153 - 167
  • [7] Main-Memory Database Systems
    Kemper, Alfons
    Neumann, Thomas
    [J]. 2014 IEEE 30TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE), 2014, : 1310 - 1310
  • [8] Modern Main-Memory Database Systems
    Larson, Per-Ake
    Levandoski, Justin
    [J]. PROCEEDINGS OF THE VLDB ENDOWMENT, 2016, 9 (13): : 1609 - +
  • [9] Energy Efficiency in Main-Memory Databases
    Stefan Noll
    Henning Funke
    Jens Teubner
    [J]. Datenbank-Spektrum, 2017, 17 (3) : 223 - 232
  • [10] Exploiting Hardware Transactional Memory in Main-Memory Databases
    Leis, Viktor
    Kemper, Alfons
    Neumann, Thomas
    [J]. 2014 IEEE 30TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE), 2014, : 580 - 591