The impact of columnar file formats on SQL‐on‐hadoop engine performance: A study on ORC and Parquet
Влияние столбцовых форматов файлов на производительность SQL-on-Hadoop-систем: исследование ORC и Parquet
2019-09-09
SCID: 54.1/s9tba873
Discuss with AI
BigBench (TPCx-BB)ORCParquetSQL-on-Hadoop enginescolumnar file formats
Figures from the paper
Abstract (AI)
Summary Columnar file formats provide an efficient way to store data to be queried by SQL‐on‐Hadoop engines. Related works consider the performance of processing engine and file format together, which makes it impossible to predict their individual impact. In this work, we propose an alternative approach: by executing each file format on the same processing engine, we compare the different file formats as well as their different parameter settings. We apply our strategy to two processing engines, Hive and SparkSQL, and evaluate the performance of two columnar file formats, ORC and Parquet. We use BigBench (TPCx‐BB), a standardized application‐level benchmark for Big Data scenarios. Our experiments confirm that the file format selection and its configuration significantly affect the overall performance. We show that ORC generally performs better on Hive, whereas Parquet achieves best performance with SparkSQL. Using ZLIB compression brings up to 60.2% improvement with ORC, while Parquet achieves up to 7% improvement with Snappy. Exceptions are the queries involving text processing, which do not benefit from using any compression.
Key Findings
1
Experiments using Hive, SparkSQL, and the standardized BigBench (TPCx-BB) benchmark show that format selection and configuration significantly affect overall performance.
2
ORC generally performs better with Hive, whereas Parquet achieves the best performance with SparkSQL.
3
Queries involving text processing do not benefit from compression in either columnar format.
4
The study isolates file-format effects by executing ORC and Parquet with identical SQL-on-Hadoop processing engines and varying format parameters.
5
ZLIB compression improves ORC performance by up to 60.2%, while Snappy improves Parquet performance by up to 7%.
Research Object
ORC and Parquet columnar file formats used with Hive and SparkSQL SQL-on-Hadoop engines
Research Subject
The impact of file-format selection and configuration, including compression settings, on SQL-on-Hadoop query-processing performance
Publication Details
Publication Date
2019-09-09
Journal
Publisher
ISSN
Open access PDF
Access Type
Author Information
Download PDF
Subscribe to digest