首页> 外文期刊>IEEE Transactions on Knowledge and Data Engineering >Scheduling Resources to Multiple Pipelines of One Query in a Main Memory Database Cluster
【24h】

Scheduling Resources to Multiple Pipelines of One Query in a Main Memory Database Cluster

机译:将资源调度到主内存数据库集群中一个查询的多条管道

获取原文
获取原文并翻译 | 示例
           

摘要

To fully utilize the resources of a main memory database cluster, we additionally take the independent parallelism into account to parallelize multiple pipelines of one query. However, scheduling resources to multiple pipelines is an intractable problem. Traditional static approaches to this problem may lead to a serious waste of resources and suboptimal execution order of pipelines, because it is hard to predict the actual data distribution and fluctuating workloads at compile time. In response, we propose a dynamic scheduling algorithm, List with Filling and Preemption (LFPS), based on two novel techniques. (1) Adaptive filling improves resource utilization by issuing more extra pipelines to adaptively fill idle resource "holes" during execution. (2) Rank-based preemption strictly guarantees scheduling the pipelines on the critical path first at run time. Interestingly, the latter facilitates the former filling idle "holes" with best efforts to finish multiple pipelines as soon as possible. We implement LFPS in our prototype database system. Under the workloads of TPC-H, experiments show our work improves the finish time of parallelizable pipelines from one query up to 2.5X than a static approach and 2.1X than a serialized execution.
机译:为了充分利用主内存数据库集群的资源,我们还考虑了独立并行性,以并行化一个查询的多个管道。但是,将资源调度到多个管道是一个棘手的问题。解决此问题的传统静态方法可能会导致严重的资源浪费和流水线的次优执行顺序,因为在编译时很难预测实际的数据分布和工作量的波动。作为响应,我们提出了一种基于两种新颖技术的动态调度算法,即具有填充和抢占的列表(LFPS)。 (1)自适应填充通过发出更多额外的管道以在执行期间自适应填充空闲资源“漏洞”来提高资源利用率。 (2)基于等级的抢占严格保证了在运行时首先在关键路径上调度管道。有趣的是,后者通过尽最大的努力尽早完成多条管道,有助于前者填补闲置的“漏洞”。我们在原型数据库系统中实现LFPS。在TPC-H的工作量下,实验表明,我们的工作将可并行化管道的完成时间从一个查询缩短到静态方法的2.5倍,比序列化执行的2.1倍。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号