Large amounts of data, new ways of working: Efficient out-of-memory processing with R, Parquet, and arrow at research data centers
The Research Data Center of the Federal Statistical Office in Germany (RDC-Destatis) is increasingly challenged by the constant growth in data volumes. At the same time, data users’ demands are increasing: research questions are becoming more complex and often require multi-year data and a large number of variables. Classic workflows are reaching their limits, when large amounts of data must first be loaded into memory. Especially with extremely large datasets, this process becomes inefficient or no longer feasible. Currently, technological advancements provide promising solutions to this situation. Specifically, the open-source statistical software R offers user-friendly access to suitable tools and is receiving increasing attention as a key analysis tool. One approach is to combine the open-source technologies of the Parquet file format with the arrow package (Richardson et al. 2024). Processing Parquet files with arrow enables intuitive analytical queries on datasets that exceed a multiple of the available RAM. The optimizations implemented in arrow, when applied to intelligent data partitioning, enable data processing in particularly short processing times. The presentation explains the basic working principles of Parquet and arrow and illustrates how they can be used to implement a different approach to analysis: shifting from extensive data loading toward processing steps performed before accessing RAM. Using DRG statistics (Diagnosis-Related Groups Statistic of hospital cases in Germany)—a highly requested, data-intensive statistic at the RDC-Destatis—concrete application examples are shown. The focus is on practical template code for data users (researchers) and Research Data Center staff (e.g. data stewards, research software engineers, infrastructure teams): efficient preprocessing of complex variables, filter logic, and aggregated analyses directly on Parquet datasets. The goal of the presentation is to demonstrate the significant performance gains from using Parquet files with arrow, thereby showcasing the potential of these technologies for research data center workflows.
Authors
- Veronika Chakraverty (ORCID: https://orcid.org/0000-0002-4060-1746)
- Oliver Hauke
Institutions
- Statistisches Bundesamt (DE)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-01
- DOI
- https://doi.org/10.5281/zenodo.24719189
- Primary Topic
- Data Analysis with R
- Type
- article
- Field-Weighted Citation Impact
- 0.00