Skip to content
Search

Btree

lastmod 2025-01-08created 2014-09-154 edits

  • B-Tree: a multiway search tree. A tree-shaped data structure designed to search and update large files efficiently.
  • B+Tree: similar to a B-Tree, but the actual data exists only at the lowest level and is linked sequentially. So it is much better for finding sequential values, but has the drawback of having to go all the way to the bottom level to find a specific value.
  • B*Tree: reportedly a tree that uses redistribution to reduce the cost of merging in a B+Tree.

Libraries

Favorite site

References


  1. Www.touc.org.zip ↩

  2. Btree-1.0-by_Thomas_H_Cormen.tar.gz ↩

  3. These routines implement a B-Tree data structure. I developed most of this code using Introduction to Algorithms by Thomas H. Cormen, Charles E. Leiserson and Ronald L. Rivest. The code implements B-Tree and not B-Tree+. B-Tree+ allow you to do an in order traversal of the data without having to lock each node. Currently the code isn't reetrant, but I plan on making it so. ↩

author Zer0 sitemap