arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1805.08650cs.DBcs.DC
收藏

数据密集型可伸缩计算框架中基于缓存的多查询优化

Cache-based Multi-query Optimization for Data-intensive Scalable Computing Frameworks

Pietro Michiardi, Damiano Carra, Sara Migliorini

摘要:

在现代大规模分布式系统中,不同用户提交的分析作业通常共享类似的工作,例如扫描和处理相同的数据子集。多查询优化技术可以节省大量的集群资源,而不是单独优化作业,这可能会导致冗余和浪费的处理。在这项工作中,我们介绍了一种新的方法相结合的内存缓存原语和多查询优化,以提高数据密集型,可扩展的计算框架的效率。通过仔细选择和利用共同(子)表达式,同时满足内存限制,我们的方法将一批查询转换成一个新的,更有效的,避免不必要的重新计算。为了找到可行和有效的执行计划,我们的方法使用了基于成本的优化配方类似于多选择背包问题。在我们的系统的原型实现上进行的大量实验表明,工作共享对于TPC-DS工作负载和详细的微基准测试都有显着的好处。

英文摘要:

In modern large-scale distributed systems, analytics jobs submitted by various users often share similar work, for example scanning and processing the same subset of data. Instead of optimizing jobs independently, which may result in redundant and wasteful processing, multi-query optimization techniques can be employed to save a considerable amount of cluster resources. In this work, we introduce a novel method combining in-memory cache primitives and multi-query optimization, to improve the efficiency of data-intensive, scalable computing frameworks. By careful selection and exploitation of common (sub)expressions, while satisfying memory constraints, our method transforms a batch of queries into a new, more efficient one which avoids unnecessary recomputations. To find feasible and efficient execution plans, our method uses a cost-based optimization formulation akin to the multiple-choice knapsack problem. Extensive experiments on a prototype implementation of our system show significant benefits of worksharing for both TPC-DS workloads and detailed micro-benchmarks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑