An Empirical Evaluation of Columnar Storage Formats
Preprint
Abstract
Columnar storage is one of the core components of a modern data analytics system. Although many database management systems (DBMSs) have proprietary storage formats, most provide extensive support to open-source storage formats such as Parquet and ORC to facilitate cross-platform data sharing. But these formats were developed over a decade ago, in the early 2010s, for the Hadoop ecosystem. Since then, both the hardware and workload landscapes have changed significantly. In this paper, we revisit the most widely adopted open-source columnar storage formats (Parquet and ORC) with a deep dive into their internals. We designed a benchmark to stress-test the formats' performance and space efficiency under different workload configurations. From our comprehensive evaluation of Parquet and ORC, we identify design decisions advantageous with modern hardware and real-world data distributions. These include using dictionary encoding by default, favoring decoding speed over compression ratio for integer encoding algorithms, making block compression optional, and embedding finer-grained auxiliary data structures. Our analysis identifies important considerations that may guide future formats to better fit modern technology trends.Keywords
All Related Versions
This publication has 9 references indexed in Scilit:
- Columnar formats for schemaless LSM-based document storesProceedings of the VLDB Endowment, 2022
- The impact of columnar file formats on SQL‐on‐hadoop engine performance: A study on ORC and ParquetConcurrency and Computation: Practice and Experience, 2019
- Amazon Redshift and the Case for Simpler Data Warehouses2015
- BigDataBench: A big data benchmark suite from internet services2014
- The Design and Implementation of Modern Column-Oriented Database SystemsFoundations and Trends® in Databases, 2013
- Decoding billions of integers per second through vectorizationSoftware: Practice and Experience, 2013
- Benchmarking cloud serving systems with YCSB2010
- Cache-, hash-, and space-efficient bloom filtersACM Journal of Experimental Algorithmics, 2009
- Measures of presortedness and optimal sorting algorithmsLecture Notes in Computer Science, 1984