Affiliation:
1. University of Edinburgh, Edinburgh, United Kingdom
2. Shenzhen Institute of Computing Sciences; University of Edinburgh; BDBC; & Beihang University, Shenzhen, China
3. Shenzhen Institute of Computing Sciences, Shenzhen, China
Abstract
This paper studies how to improve the performance of main memory multicore OLTP systems for executing transactions with conflicts. A promising approach is to partition transaction workloads into mutually conflict-free clusters, and distribute the clusters to different cores for concurrent execution. We show that if transactions in each cluster are properly scheduled, transactions that are traditionally considered conflicting can be executed without conflicts at runtime. In light of this, we propose to schedule transactions and reduce runtime conflicts, instead of partitioning based on the conventional notion of conflicts. We formulate the transaction scheduling problem to minimize runtime conflicts, and show that the problem is NP-complete. This said, we develop an efficient scheduling algorithm to improve parallelism. Moreover, for transactions that are not packed in batches, we show that runtime conflict analysis also helps reduce conflict penalties, by proposing a proactive deferring method. Using standard and enhanced benchmarks, we show that on average our scheduling and proactive deferring methods improve the throughput of existing partitioners and concurrency control protocols by 131% and 109%, respectively, up to 294% and 152%.
Publisher
Association for Computing Machinery (ACM)
Reference62 articles.
1. [n. d.]. Atomic Builtins - Using the GNU Compiler Collection (GCC). https://gcc.gnu.org/onlinedocs/gcc/_005f_005fatomic-Builtins.html. [n. d.]. Atomic Builtins - Using the GNU Compiler Collection (GCC). https://gcc.gnu.org/onlinedocs/gcc/_005f_005fatomic-Builtins.html.
2. [n. d.]. DBx1000. https://github.com/yxymit/DBx1000. [n. d.]. DBx1000. https://github.com/yxymit/DBx1000.
3. [n. d.]. H-Store. https://github.com/apavlo/h-store. [n. d.]. H-Store. https://github.com/apavlo/h-store.
4. [n. d.]. Strife. https://github.com/zhr1201/STRIFE-public. [n. d.]. Strife. https://github.com/zhr1201/STRIFE-public.
5. An overview of deterministic database systems
Cited by
2 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Towards Optimal Transaction Scheduling;Proceedings of the VLDB Endowment;2024-07
2. Cascade: Optimal Transaction Scheduling for High-Contention Workloads;2024 IEEE 40th International Conference on Data Engineering (ICDE);2024-05-13