Opportunities for Optimism in Contended Main-Memory Multicore Transactions

被引:26
|
作者
Huang, Yihe [1 ]
Qian, William [1 ]
Kohler, Eddie [1 ]
Liskov, Barbara [2 ]
Shrira, Liuba [3 ]
机构
[1] Harvard Univ, Cambridge, MA 02138 USA
[2] MIT, Cambridge, MA 02139 USA
[3] Brandeis Univ, Waltham, MA USA
来源
PROCEEDINGS OF THE VLDB ENDOWMENT | 2020年 / 13卷 / 05期
关键词
CONCURRENCY-CONTROL; ALGORITHMS;
D O I
10.14778/3377369.3377373
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Optimistic concurrency control, or OCC, can achieve excellent performance on uncontended workloads for main-memory transactional databases. Contention causes OCC's performance to degrade, however, and recent concurrency control designs, such as hybrid OCC/locking systems and variations on multiversion concurrency control (MVCC), have claimed to outperform the best OCC systems. We evaluate several concurrency control designs under varying contention and varying workloads, including TPC-C, and find that implementation choices unrelated to concurrency control may explain much of OCC's previously-reported degradation. When these implementation choices are made sensibly, OCC performance does not collapse on high-contention TPC-C. We also present two optimization techniques, commit-time updates and timestamp splitting, that can dramatically improve the high-contention performance of both OCC and MVCC. Though these techniques are known, we apply them in a new context and highlight their potency: when combined, they lead to performance gains of 3.4x for MVCC and 3.6x for OCC in a TPC-C workload.
引用
收藏
页码:629 / 642
页数:14
相关论文
共 50 条
  • [1] Opportunities for optimism in contended main-memory multicore transactions
    Yihe Huang
    William Qian
    Eddie Kohler
    Barbara Liskov
    Liuba Shrira
    [J]. The VLDB Journal, 2022, 31 : 1239 - 1261
  • [2] 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
  • [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