SOFA:一个可扩展的UDF重数据流逻辑优化器
SOFA: An Extensible Logical Optimizer for UDF-heavy Dataflows
摘要:
近年来,人们对非关系型数据的大规模分析的兴趣越来越大。这些流程被编译成在大型计算集群上调度的执行图。在许多新的应用领域中,这种逻辑的主要构建块是用户定义的谓词或函数(UDF)。然而,在当前系统中,UDF的大量使用并没有很好地考虑到低优化。SOFA是一个新颖的和可扩展的优化器,用于UDF繁重的路由器。它建立在一组用于描述Map/Reduce风格的UDF的语义的简明属性和一小组重写规则的基础上,这些重写规则使用这些属性来找到比传统技术更多的语义等效计划重写。我们的方法的一个显着特点是可扩展性:我们安排用户定义的运营商和他们的属性到一个包容层次结构,这大大简化了新运营商的集成和优化。我们评估SOFA选择的UDF重的自定义域,并比较其性能的自定义域优化算法的其他三个。我们的实验表明,SOFA发现有效的计划,超过其竞争对手发现的最佳计划的一个因素高达6。
英文摘要:
Recent years have seen an increased interest in large-scale analytical dataflows on non-relational data. These dataflows are compiled into execution graphs scheduled on large compute clusters. In many novel application areas the predominant building blocks of such dataflows are user-defined predicates or functions (UDFs). However, the heavy use of UDFs is not well taken into account for dataflow optimization in current systems. SOFA is a novel and extensible optimizer for UDF-heavy dataflows. It builds on a concise set of properties for describing the semantics of Map/Reduce-style UDFs and a small set of rewrite rules, which use these properties to find a much larger number of semantically equivalent plan rewrites than possible with traditional techniques. A salient feature of our approach is extensibility: We arrange user-defined operators and their properties into a subsumption hierarchy, which considerably eases integration and optimization of new operators. We evaluate SOFA on a selection of UDF-heavy dataflows from different domains and compare its performance to three other algorithms for dataflow optimization. Our experiments reveal that SOFA finds efficient plans, outperforming the best plans found by its competitors by a factor of up to 6.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。