Arrow Research search
Back to FOCS

FOCS 2000

Cache-Oblivious B-Trees

Conference Paper Session 9 Algorithms and Complexity · Theoretical Computer Science

Abstract

We present dynamic search-tree data structures that perform well in the setting of a hierarchical memory (including various levels of cache, disk, etc.), but do not depend on the number of memory levels, the block sizes and number of blocks at each level, or the relative speeds of memory access. In particular between any pair of levels in the memory hierarchy, where transfers between the levels are done in blocks of size B, our data structures match the optimal search bound of /spl Theta/(log/sub B/ N) memory transfers. This bound is also achieved by the classic B-tree data structure, but only when the block size B is known, which in practice requires careful tuning on each machine platform. One of our data structures supports insertions and deletions in /spl Theta/(log/sub B/ N) amortized memory transfers, which matches the B-tree's worst-case bounds. We augment this structure to support scans optimally in /spl Theta/(N/B) memory transfers. In this second data structure insertions and deletions require /spl Theta/(log/sub B/ N+log/sup 2/N/B) amortized memory transfers. Thus, we match the performance of the B-tree for B=/spl Omega/(log N log log N).

Authors

Keywords

  • Data structures
  • Computer science
  • Computer networks
  • Registers
  • Network-on-a-chip
  • Algorithm design and analysis
  • Laboratories
  • Costs
  • Central Processing Unit
  • Clustering algorithms
  • Data Structure
  • Memory Transfer
  • Structural Dynamics
  • Kinetic Data
  • Block Size
  • Root Node
  • Constant Factor
  • Levels Of Hierarchy
  • Evidential
  • Subtree
  • Tree Search
  • Local Nodes
  • Buffer Size
  • Linear Scan
  • Definition Of Properties
  • Irregular Data
  • Memory Block
  • Balanced Tree
  • L2 Cache
  • Memory Hierarchy
  • HMM Model
  • LU Factorization
  • Optimization Algorithm

Context

Venue
IEEE Symposium on Foundations of Computer Science
Archive span
1975-2025
Indexed papers
3809
Paper id
295320629970915658
v2026.09.13