[Paper Review] Column-Oriented Storage Techniques for MapReduce
This paper proposes a column-oriented storage format for Hadoop that integrates with MapReduce while preserving its programming model. By leveraging binary serialization, a novel skip list column format, and lazy record construction, the approach achieves up to a 100x performance improvement in the map phase on real workloads, with a 1.5x boost from avoiding unnecessary deserialization of complex nested types.
Users of MapReduce often run into performance problems when they scale up their workloads. Many of the problems they encounter can be overcome by applying techniques learned from over three decades of research on parallel DBMSs. However, translating these techniques to a MapReduce implementation such as Hadoop presents unique challenges that can lead to new design choices. This paper describes how column-oriented storage techniques can be incorporated in Hadoop in a way that preserves its popular programming APIs. We show that simply using binary storage formats in Hadoop can provide a 3x performance boost over the naive use of text files. We then introduce a column-oriented storage format that is compatible with the replication and scheduling constraints of Hadoop and show that it can speed up MapReduce jobs on real workloads by an order of magnitude. We also show that dealing with complex column types such as arrays, maps, and nested records, which are common in MapReduce jobs, can incur significant CPU overhead. Finally, we introduce a novel skip list column format and lazy record construction strategy that avoids deserializing unwanted records to provide an additional 1.5x performance boost. Experiments on a real intranet crawl are used to show that our column-oriented storage techniques can improve the performance of the map phase in Hadoop by as much as two orders of magnitude.
Motivation & Objective
- To address performance bottlenecks in large-scale MapReduce workloads caused by inefficient storage and I/O.
- To adapt columnar storage techniques from parallel DBMSs to Hadoop’s execution model without breaking its programming interfaces.
- To support complex column types like arrays, maps, and nested records efficiently in a distributed environment.
- To minimize CPU overhead from deserializing unused records in complex data structures.
- To design a storage format compatible with Hadoop’s replication and scheduling constraints.
Proposed method
- Adopting binary storage formats instead of text files to reduce I/O and parsing overhead.
- Designing a column-oriented storage format that aligns with Hadoop’s data replication and task scheduling mechanisms.
- Introducing a skip list-based column format to accelerate predicate pushdown and index-only scans.
- Implementing a lazy record construction strategy that defers deserialization until fields are actually accessed.
- Extending the format to support complex types such as arrays, maps, and nested records with minimal runtime cost.
- Ensuring full backward compatibility with existing MapReduce APIs and Hadoop’s execution model.
Experimental results
Research questions
- RQ1Can column-oriented storage improve MapReduce performance without modifying the programming model?
- RQ2How does binary serialization compare to text-based formats in terms of I/O and CPU efficiency for large-scale workloads?
- RQ3What performance gains can be achieved by combining columnar storage with skip lists and lazy deserialization?
- RQ4How do complex data types like arrays and nested records impact CPU overhead in columnar formats?
- RQ5To what extent can predicate pushdown and selective field access reduce processing time in the map phase?
Key findings
- Using binary storage formats alone provides a 3x performance improvement over naive text-based storage in Hadoop.
- The proposed column-oriented storage format accelerates real-world MapReduce jobs by up to an order of magnitude (10x).
- The skip list column format and lazy record construction strategy deliver an additional 1.5x performance boost by avoiding unnecessary deserialization.
- The combination of binary formats, columnar layout, and lazy processing reduces map phase execution time by as much as two orders of magnitude on a real intranet crawl.
- Complex column types such as arrays and nested records introduce significant CPU overhead, which is mitigated through selective deserialization.
- The storage format is fully compatible with Hadoop’s replication and scheduling constraints, enabling seamless integration into existing clusters.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.