[Paper Review] COLE: A Column-based Learned Storage for Blockchain Systems
COLE proposes a column-based learned storage system for blockchain systems that reduces storage overhead by storing each state’s historical values contiguously and indexing them with disk-optimized learned models. It achieves up to 94% smaller storage size and 1.4×–5.4× higher throughput compared to Merkle Patricia Trie, while supporting provenance queries and data integrity via Merkle file streaming and asynchronous merge strategies.
Blockchain systems suffer from high storage costs as every node needs to store and maintain the entire blockchain data. After investigating Ethereum's storage, we find that the storage cost mostly comes from the index, i.e., Merkle Patricia Trie (MPT). To support provenance queries, MPT persists the index nodes during the data update, which adds too much storage overhead. To reduce the storage size, an initial idea is to leverage the emerging learned index technique, which has been shown to have a smaller index size and more efficient query performance. However, directly applying it to the blockchain storage results in even higher overhead owing to the requirement of persisting index nodes and the learned index's large node size. To tackle this, we propose COLE, a novel column-based learned storage for blockchain systems. We follow the column-based database design to contiguously store each state's historical values, which are indexed by learned models to facilitate efficient data retrieval and provenance queries. We develop a series of write-optimized strategies to realize COLE in disk environments. Extensive experiments are conducted to validate the performance of the proposed COLE system. Compared with MPT, COLE reduces the storage size by up to 94% while improving the system throughput by $1.4 imes$-$5.4 imes$.
Motivation & Objective
- Address the high storage cost in blockchain systems, where the index (e.g., Merkle Patricia Trie) dominates storage overhead despite only 2.8% of data being actual transaction content.
- Overcome the limitations of existing learned indexes in blockchain systems, which fail to support data integrity, provenance queries, and efficient disk-based writes due to large node sizes and persistent node requirements.
- Design a blockchain-friendly learned index that supports efficient provenance queries, data integrity, and high write throughput in disk environments.
- Reduce long-tail write latency in blockchain storage through a checkpoint-based asynchronous merge strategy without increasing storage footprint.
- Enable efficient historical data retrieval by eliminating traversal of outdated block indexes, instead relying on the latest block’s learned index for versioned state access.
Proposed method
- Adopt a column-based database design to store each blockchain state’s historical values contiguously, enabling efficient compression and access patterns.
- Implement a disk-optimized learned index within each LSM-tree run to replace traditional B+-tree structures, using regression models to predict data positions with minimal storage cost.
- Introduce a streaming algorithm to construct Merkle files that maintain data integrity across versions, enabling cryptographic verification of historical states.
- Design a checkpoint-based asynchronous merge strategy to decouple write operations from compaction, reducing long-tail write latency by 1–2 orders of magnitude.
- Use versioned block heights as append-only identifiers to enable efficient state updates and provenance queries via the latest block’s learned index.
- Leverage the columnar layout to support future integration of data compression techniques that exploit similarity between adjacent state versions.
Experimental results
Research questions
- RQ1Can a learned index be effectively adapted to blockchain storage to reduce index size while maintaining data integrity and provenance query support?
- RQ2How can learned indexes be optimized for disk-based storage systems with frequent write operations and high durability requirements?
- RQ3What design patterns can minimize the storage overhead of persistent index nodes in blockchain systems, especially when learned indexes typically have larger node sizes?
- RQ4To what extent can a columnar storage model with learned indexing reduce long-tail write latency in blockchain workloads?
- RQ5Can the integration of Merkle file streaming and learned indexing enable efficient, cryptographically verifiable provenance queries without traversing outdated index trees?
Key findings
- COLE reduces blockchain storage size by up to 94% compared to Merkle Patricia Trie, with the majority of savings coming from eliminating redundant index node persistence.
- The system improves system throughput by 1.4× to 5.4× over MPT due to faster query performance and optimized write patterns enabled by learned indexing.
- The checkpoint-based asynchronous merge strategy reduces long-tail write latency by 1–2 orders of magnitude while maintaining a storage footprint comparable to the baseline.
- The columnar design enables efficient historical data retrieval by allowing provenance queries to be resolved using only the latest block’s learned index, eliminating traversal of obsolete index trees.
- The streaming Merkle file construction algorithm ensures data integrity and supports cryptographic verification of any historical state with minimal runtime cost.
- Evaluation on the SmallBank workload shows that underlying data contributes only 2.8% to total storage, confirming that index bloat is the primary storage bottleneck.
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.