This Article 
   
 Share 
   
 Bibliographic References 
   
 Add to: 
 
Digg
Furl
Spurl
Blink
Simpy
Google
Del.icio.us
Y!MyWeb
 
 Search 
   
41st Annual Symposium on Foundations of Computer Science
Cache-oblivious B-trees
Redondo Beach, California
November 12-November 14
ISBN: 0-7695-0850-2
M.A. Bender, Dept. of Comput. Sci., State Univ. of New York, Stony Brook, NY, USA
E.D. Demaine, Dept. of Comput. Sci., State Univ. of New York, Stony Brook, NY, USA
M. Farach-Colton, Dept. of Comput. Sci., State Univ. of New York, Stony Brook, NY, USA
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).
Index Terms:
tree data structures; tree searching; cache storage; computational complexity; cache-oblivious B-trees; dynamic search-tree data structures; hierarchical memory; memory hierarchy; optimal search bound; insertions; deletions; amortized memory transfers; worst-case bounds
Citation:
M.A. Bender, E.D. Demaine, M. Farach-Colton, "Cache-oblivious B-trees," focs, pp.399, 41st Annual Symposium on Foundations of Computer Science, 2000
Usage of this product signifies your acceptance of the Terms of Use.