arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.00509cs.DB
收藏

COLE$^+$:面向区块链系统的实用列式学习存储

COLE$^+$: Towards Practical Column-based Learned Storage for Blockchain Systems

Hong Kong Baptist University(香港浸会大学);Hong Kong Polytechnic University(香港理工大学)

Ce Zhang, Cheng Xu, Haibo Hu, Jianliang Xu

AI总结:

COLE$^+$通过引入支持回退的内存树结构和可修剪版本树,解决了区块链存储中的链重组织和状态修剪问题,提高了存储效率和实用性。

摘要:

区块链提供了一个去中心化且防篡改的账本,用于在一组不可信节点网络中安全地记录交易。虽然其透明性和完整性具有优势,但维持完整交易历史所需的大量存储需求带来了显著挑战。例如,以太坊节点需要大约23TB的存储空间,年增长率约为4TB。先前的研究采用了各种策略来缓解存储挑战。值得注意的是,COLE通过采用列式设计并结合学习索引,显著减少了存储大小并提高了吞吐量,有效消除了存储层中的数据冗余。然而,这种方法在支持区块链分叉期间的链重组织和状态修剪以减少存储开销方面存在局限性。在本文中,我们提出了COLE$^+$,一种增强的存储解决方案,旨在解决这些限制。COLE$^+ $引入了一种新的支持回退的内存树结构,用于处理链重组织,利用内容定义分块(CDC)来为每个区块维护一致的哈希摘要。对于磁盘存储,开发了一种名为可修剪版本树的新两级梅克尔哈希树(MHT)结构,以促进高效的狀態修剪。理论和实证分析显示COLE$^+$的有效性及其在实际区块链系统中的潜在应用价值。

英文摘要:

Blockchain provides a decentralized and tamper-resistant ledger for securely recording transactions across a network of untrusted nodes. While its transparency and integrity are beneficial, the substantial storage requirements for maintaining a complete transaction history present significant challenges. For example, Ethereum nodes require around 23TB of storage, with an annual growth rate of 4TB. Prior studies have employed various strategies to mitigate the storage challenges. Notably, COLE significantly reduces storage size and improves throughput by adopting a column-based design that incorporates a learned index, effectively eliminating data duplication in the storage layer. However, this approach has limitations in supporting chain reorganization during blockchain forks and state pruning to minimize storage overhead. In this paper, we propose COLE$^+$, an enhanced storage solution designed to address these limitations. COLE$^+$ incorporates a novel rewind-supported in-memory tree structure for handling chain reorganization, leveraging content-defined chunking (CDC) to maintain a consistent hash digest for each block. For on-disk storage, a new two-level Merkle Hash Tree (MHT) structure, called prunable version tree, is developed to facilitate efficient state pruning. Both theoretical and empirical analyses show the effectiveness of COLE$^+$ and its potential for practical application in real-world blockchain systems.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑