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

Elastic pipelining in an in-memory database cluster

  • Li Wang
  • , Minqi Zhou*
  • , Zhenjie Zhang
  • , Yin Yang
  • , Aoying Zhou
  • , Dina Bitton
  • *此作品的通讯作者
  • East China Normal University
  • Singapore Pte. Ltd.
  • Hamad bin Khalifa University
  • Bitton Consulting

科研成果: 书/报告/会议事项章节会议稿件同行评审

摘要

An in-memory database cluster consists of multiple interconnected nodes with a large capacity of RAM and modern multi-core CPUs. As a conventional query processing strategy, pipelining remains a promising solution for in-memory parallel database systems, as it avoids expensive intermediate result materialization and parallelizes the data processing among nodes. However, to fully unleash the power of pipelining in a cluster with multi-core nodes, it is crucial for the query optimizer to generate good query plans with appropriate intra-node parallelism, in order to maximize CPU and network bandwidth utilization. A suboptimal plan, on the contrary, causes load imbalance in the pipelines and consequently degrades the query performance. Parallelism assignment optimization at compile time is nearly impossible, as the workload in each node is affected by numerous factors and is highly dynamic during query evaluation. To tackle this problem, we propose elastic pipelining, which makes it possible to optimize intra-node parallelism assignments in the pipelines based on the actual workload at runtime. It is achieved with the adoption of new elastic iterator model and a fully optimized dynamic scheduler. The elastic iterator model generally upgrades traditional iterator model with new dynamic multi-core execution adjustment capability. And the dynamic scheduler efficiently provisions CPU cores to query execution segments in the pipelines based on the light-weight measurements on the operators. Extensive experiments on real and synthetic (TPC-H) data show that our proposal achieves almost full CPU utilization on typical decision-making analytical queries, outperforming state-of-the-art open-source systems by a huge margin.

源语言英语
主期刊名SIGMOD 2016 - Proceedings of the 2016 International Conference on Management of Data
出版商Association for Computing Machinery
1279-1294
页数16
ISBN(电子版)9781450335317
DOI
出版状态已出版 - 26 6月 2016
活动2016 ACM SIGMOD International Conference on Management of Data, SIGMOD 2016 - San Francisco, 美国
期限: 26 6月 20161 7月 2016

丛书

姓名Proceedings of the ACM SIGMOD International Conference on Management of Data
26-June-2016
ISSN(印刷版)0730-8078

会议

会议2016 ACM SIGMOD International Conference on Management of Data, SIGMOD 2016
国家/地区美国
San Francisco
时期26/06/161/07/16

学术指纹

探究 'Elastic pipelining in an in-memory database cluster' 的科研主题。它们共同构成独一无二的学术指纹。

引用此