中文

受批量插入影响的 B 树碎片化界限

数据结构与算法 2026-03-13 v1 数据库

摘要

数据结构中的内部碎片化问题是数据库设计中的一个基本挑战。 Yao 的一个重要结果表明,针对均匀随机插入工作负载,均匀分割 B 树的叶子节点可实现约 69% 的空间利用率。然而,许多数据库应用程序执行批量插入,即在单个位置插入一小段连续键。我们对 Yao 的分析进行推广,提供对此类批量工作负载的严格处理。我们的ethods方法重新审视并重新表述了 Yao 结果所基于的分析结构的方式,这使我们能够对广泛扩展的工作负载类中的许多工作负载表明均匀分割效果良好。对于剩余的工作负载,我们 developed 简单替代策略,能够严格保证良好的空间利用率。

关键词

引用

@article{arxiv.2603.12211,
  title  = {Bounding the Fragmentation of B-Trees Subject to Batched Insertions},
  author = {Michael A. Bender and Aaron Bernstein and Nairen Cao and Alex Conway and Martín Farach-Colton and Hanna Komlós and Yarin Shechter and Nicole Wein},
  journal= {arXiv preprint arXiv:2603.12211},
  year   = {2026}
}

备注

To appear at PODS 2026, 30 pages, 5 figures