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

对受批量插入影响的B树碎片化进行边界限定

Bounding the Fragmentation of B-Trees Subject to Batched Insertions

Stony Brook University(石溪大学);RelationalAI(关系人工智能);New York University(纽约大学);Cornell Tech(康奈尔科技);Max Planck Institute for Informatics(马克斯·普朗克计算机科学研究所);University of Michigan(密歇根大学)

Michael A. Bender, Aaron Bernstein, Nairen Cao, Alex Conway, Martín Farach-Colton, Hanna Komlós, Yarin Shechter, Nicole Wein

AI总结:

本文研究了批量插入对B树碎片化的影响,提出了一种推广Yao分析的方法,以严格处理此类工作负载,并为不同场景提供了有效的空间利用率策略。

摘要:

数据结构中的内部碎片化问题是数据库设计中的基本挑战。Yao在该领域的一项重要成果表明,将B树的叶子节点均匀分割 against 一个均匀随机插入的工作负载可以实现约69%的空间利用率。然而,许多数据库应用执行批量插入,即在单个位置插入一小段连续的键。我们开发了Yao分析的推广,以提供对这种批量工作负载的严格处理。我们的方法重新审视并重新公式化了Yao结果下的分析结构,以实现一般化,并用于论证即使分割在我们扩展的类别中的许多工作负载中表现良好。对于剩余的工作负载,我们开发了简单的替代策略,这些策略可以证明地保持良好的空间利用率。

英文摘要:

The issue of internal fragmentation in data structures is a fundamental challenge in database design. A seminal result of Yao in this field shows that evenly splitting the leaves of a B-tree against a workload of uniformly random insertions achieves space utilization of around 69%. However, many database applications perform batched insertions, where a small run of consecutive keys is inserted at a single position. We develop a generalization of Yao's analysis to provide rigorous treatment of such batched workloads. Our approach revisits and reformulates the analytical structure underlying Yao's result in a way that enables generalization and is used to argue that even splitting works well for many workloads in our extended class. For the remaining workloads, we develop simple alternative strategies that provably maintain good space utilization.

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

↑