The impact of columnar file formats on SQL‐on‐hadoop engine performance: A study on ORC and Parquet

Влияние столбцовых форматов файлов на производительность SQL-on-Hadoop-систем: исследование ORC и Parquet
Todor Ivanov, Matteo Pergolesi
2019-09-09

BigBench (TPCx-BB)ORCParquetSQL-on-Hadoop enginescolumnar file formats
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.
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%.

ORC and Parquet columnar file formats used with Hive and SparkSQL SQL-on-Hadoop engines

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
Access Type
Author Information
Authors
Todor Ivanov
Matteo Pergolesi
Explore further
Open the scid.ai AI chat with a ready-made request: it will find papers on a similar topic and help build a literature review.
Find similar papers in the chat
Make a presentation
100%