2013 · 32 citations · 13 references
ComputingComputer ScienceComputer SystemsData ManagementDatabasesParallel ComputingData-flow AnalysisDataflow ModelingDistributed Data ProcessingRelational AlgebraAbstractionDataflow OptimizationImperative Language DesignJob Submission InterfacesMapreduceOperators
Data flows are a popular abstraction to define dataintensive processing tasks. In order to support a wide range of use cases, many data processing systems feature MapReduce-style user-defined functions (UDFs). In contrast to UDFs as known from relational DBMS, MapReduce-style UDFs have less strict templates. These templates do not alone provide all the information needed to decide whether they can be reordered with relational operators and other UDFs. However, it is well-known that reordering operators such as filters, joins, and aggregations can yield runtime improvements by orders of magnitude. We demonstrate an optimizer for data flows that is able to reorder operators with MapReduce-style UDFs written in an imperative language. Our approach leverages static code analysis to extract information from UDFs which is used to reason about the reorderbility of UDF operators. This information is sufficient to enumerate a large fraction of the search space covered by conventional RDBMS optimizers including filter and aggregation push-down, bushy join orders, and choice of physical execution strategies based on interesting properties. We demonstrate our optimizer and a job submission client that allows users to peek step-by-step into each phase of the optimization process: the static code analysis of UDFs, the enumeration of reordered candidate data flows, the generation of physical execution plans, and their parallel execution. For the demonstration, we provide a selection of relational and nonrelational data flow programs which highlight the salient features of our approach.
13
Sanjay Ghemawat · Communications of the ACM · 2008 · 18.5K citations · Full text
Christopher Olston, Benjamin Reed, Utkarsh Srivastava et al. · 2008 · 1.7K citations
Ashish Thusoo, Joydeep Sen Sarma, Namit Jain et al. · Proceedings of the VLDB Endowment · 2009 · 1.5K citations
Ronnie Chaiken, B. Keith Jenkins, Per-Åke Larson et al. · Proceedings of the VLDB Endowment · 2008 · 731 citations
Dominic Battré, Stephan Ewen, Fabian Hueske et al. · 2010 · 263 citations