Split query processing in polybase
David J. DeWitt, Alan Halverson, Rimma V. Nehme et al. · Proceedings - ACM-SIGMOD International Conference on Management of Data · 2013
This paper presents Polybase, a feature of SQL Server PDW V2 that allows users to manage and query data stored in a Hadoop cluster using the standard SQL query language. Unlike other database systems that provide only a relational view over HDFS-resident data through the use of an external table mechanism, Polybase employs a split query processing paradigm in which SQL operators on HDFS-resident data are translated into MapReduce jobs by the PDW query optimizer and then executed on the Hadoop cluster. The paper describes the design and implementation of Polybase along with a thorough performance evaluation that explores the benefits of employing a split query processing paradigm for executing queries that involve both structured data in a relational DBMS and unstructured data in Hadoop. Our results demonstrate that while the use of a split-based query execution paradigm can improve the performance of some queries by as much as 10X, one must employ a cost-based query optimizer that considers a broad set of factors when deciding whether or not it is advantageous to push a SQL operator to Hadoop. These factors include the selectivity factor of the predicate, the relative sizes of the two clusters, and whether or not their nodes are co-located. In addition, differences in the semantics of the Java and SQL languages must be carefully considered in order to avoid altering the expected results of a query.
Cited by 147 works. doi:10.1145/2463676.2463709
Authors
- David J. DeWitt
- Alan Halverson
- Rimma V. Nehme
- Srinath Shankar
- Josep Aguilar-Saborit
- Artin Avanes
- Miro Flasza
- Jim Gramling
References
- Profiling, what-if analysis, and cost-based optimization of MapReduce programs
- Query optimization for massively parallel data processing
- Integrating hadoop and parallel DBMs
- Efficient processing of data warehousing queries in a split execution environment
- Query optimization in microsoft SQL server PDW
- A Hadoop based distributed loading approach to parallel data warehouses