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

BS-tree:一种支持间隙的数据并行B树

BS-tree: A gapped data-parallel B-tree

University of Ioannina(约阿尼纳大学);Archimedes, Athena RC(阿尔基米德,雅典研究计算中心)

Dimitrios Tsitsigkos, Achilleas Michalopoulos, Nikos Mamoulis, Manolis Terrovitis

AI总结:

提出BS-tree这一内存B+树实现,通过复制键值在节点内启用间隙以支持无分支SIMD搜索和更新,结合FOR压缩减少内存占用,在单多线程处理中优于现有索引。

摘要:

我们提出BS-tree,这是一种B+树的内存实现,采用基于磁盘的索引结构(即平衡的多路树),将节点大小设置为可通过SIMD指令快速并行处理的内存块。BS-tree的新特性是通过复制键值在节点内启用间隙(未使用位置),这允许(i)每个节点内的无分支SIMD搜索,以及(ii)节点中无需键移位的无分支更新操作。我们实现了参考帧(FOR)压缩机制,允许节点具有可变容量,并能大幅减少BS-tree的内存占用。我们在不同的查询和更新工作负载下将我们的方法与现有主内存索引和学习型索引进行比较,证明其在单线程和多线程处理中相比先前工作的稳健性和优越性。

英文摘要:

We propose BS-tree, an in-memory implementation of the B+-tree that adopts the structure of the disk-based index (i.e., a balanced, multiway tree), setting the node size to a memory block that can be processed fast and in parallel using SIMD instructions. A novel feature of the BS-tree is that it enables gaps (unused positions) within nodes by duplicating key values. This allows (i) branchless SIMD search within each node, and (ii) branchless update operations in nodes without key shifting. We implement a frame of reference (FOR) compression mechanism, which allows nodes to have varying capacities, and can greatly decrease the memory footprint of BS-tree. We compare our approach to existing main-memory indices and learned indices under different workloads of queries and updates and demonstrate its robustness and superiority compared to previous work in single- and multi-threaded processing.

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

↑