Comparing Write, Read, and Query Performance of General-Purpose and Columnar Data Serialization Formats at Increasing Scale: An Empirical Benchmark Study with Statistical Validation on Synthetic and Real-World Data
Asra Fathima
Key points
From the paper's conclusion- These findings were confirmed on a real, public 1.47-million-row e-commerce fraud dataset, which reproduced the same order-of-magnitude gap between flat and non-flat formats and the same SQLite (indexed) advantage.
Abstract
This study presents an empirical benchmark comparing nine format and access-method combinations across six data serialization technologies: CSV (including a column-projected variant), gzip CSV, JSON Lines, Python Pickle, SQLite (unindexed and indexed), and Apache Parquet (naive and pyarrow pushdown). A synthetic dataset was generated at four scales (50,000 to 3,000,000 rows), with write time, storage size, read time, and query time measured across twenty trials on two independent hosts, a native 24 GB Apple Silicon machine and a memory-constrained, single-core 4 GB Linux virtual machine. Mean, standard deviation, and 95 percent confidence intervals are reported for each host. The most robust finding, stable across every scale and both hosts, is that flat formats requiring full deserialization before filtering are one to three orders of magnitude more expensive for selective queries than any approach that avoids it. Welch t-tests, corroborated by Mann-Whitney U tests, show SQLite (indexed) is significantly fastest for selective access at every scale on both hosts, with the pushdown path of Parquet significantly cheaper than naive materialization. With the increased trial count, the write-time variance of Pickle narrowed enough to show it is significantly faster than Parquet at write time on both hosts, not the statistical tie an earlier five-trial pilot suggested. These findings were confirmed on a real, public 1.47-million-row e-commerce fraud dataset, which reproduced the same order-of-magnitude gap between flat and non-flat formats and the same SQLite (indexed) advantage. These results offer statistically grounded guidance for format selection in data engineering pipelines.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Decomposing Engine and Schema Effects in Database Performance: A Result-Equivalent E-Commerce BenchmarkElectronics · 2026
- Performance-Storage Trade-Off Analysis of MongoDB Indexing Strategies Using Large-Scale E-Commerce DataJournal of Enhanced Studies in Informatics and Computer Applications · 2026
- Proposal of a Table Format for Data Lake Based on Virtual Schema StructuringIEEJ Transactions on Electronics Information and Systems · 2026
- No Silver Bullet: Boosting GaussDB Performance on the 30TB TPC-H WorkloadarXiv · 2026
- Aeris Filter: A Strongly and Monotonically Adaptive Range FilterProceedings of the ACM on Management of Data · 2026
- Optimal-Time Independent Subset Sampling over Acyclic JoinsarXiv · 2026