跳到主要导航 跳到搜索 跳到主要内容

Exploiting single-threaded model in multi-core in-memory systems

  • Chang Yao*
  • , Divyakant Agrawal
  • , Gang Chen
  • , Qian Lin
  • , Beng Chin Ooi
  • , Weng Fai Wong
  • , Meihui Zhang
  • *此作品的通讯作者
  • National University of Singapore
  • University of California at Santa Barbara
  • Zhejiang University
  • Singapore University of Technology and Design

科研成果: 期刊稿件文章同行评审

摘要

The widely adopted single-threaded OLTP model assigns a single thread to each static partition of the database for processing transactions in a partition. This simplifies concurrency control while retaining parallelism. However, it suffers performance loss arising from skewed workloads as well as transactions that span multiple partitions. In this paper, we present a dynamic single-threaded in-memory OLTP system, called LADS, that extends the simplicity of the single-threaded model. The key innovation in LADS is the separation of dependency resolution and execution into two non-overlapping phases for batches of transactions. After the first phase of dependency resolution, the record actions of the transactions are partitioned and ordered. Each independent partition is then executed sequentially by a single thread, avoiding the need for locking. By careful mapping of the tasks to be performed to threads, LADS is able to achieve a high degree of balanced parallelism. We evaluate LADS against H-Store, a partition-based database; DORA, a data-oriented transaction processing system; and SILO, a multi-core in-memory OLTP engine. The experimental study shows that LADS achieves up to 20x higher throughput than existing systems and exhibits better robustness with various workloads.

源语言英语
文章编号7486988
页(从-至)2635-2650
页数16
期刊IEEE Transactions on Knowledge and Data Engineering
28
10
DOI
出版状态已出版 - 10月 2016
已对外发布

指纹

探究 'Exploiting single-threaded model in multi-core in-memory systems' 的科研主题。它们共同构成独一无二的指纹。

引用此