没有合适的资源?快使用搜索试试~ 我知道了~
一份国外的关于B+树的技术文档

温馨提示


试读
37页
一份国外的关于B+树的技术文档,内容丰富,含有B+树的定义和各种操作等。
资源推荐
资源详情
资源评论













B
+
-Tree
COMP171 Tutorial 9

Deciency of AVL Tree
Performs really bad when the data is too
huge and cannot be put in the main memory
Too much disk access if the data is stored in
the disk
Access on disk is much slower than access on
main memory
No. of disk access is proportional to the depth
of AVL tree

Alternative Solution — M-ary Tree
Every node has multiple children (M-ary mea
ns M branches)
Depth decreases as branching increases
Depth = O(log
M
n) instead of O(log
2
n)
Therefore, no. of disk access also decreases

B+-Tree — Basic Information
An M-ary tree (M>3)
Leaves contain data items
all are at the same depth
each node has L/2 to L data (usually L << M in practice)
Internal nodes contain searching keys
each node has M/2 to M children
each node has (M/2)-1 to (M-1) searching keys
key i is the smallest key in subtree i+1
Root
can be a single leaf, or has 2 to M children

B+-Tree — Example
M = L = 4
Records are at the leaves
Node are at least half-full, so that the tree will
not degenerate into simple binary tree or eve
n link list
Left child pointer & right child pointer and also
left subtree & right subtree are defined
left child of J
right child of J
left subtree of J
right subtree of J
剩余36页未读,继续阅读
资源评论

- beadrop2014-03-11讲得很到位 就是英文看得有点吃力
- kyzlxue2012-09-13资源很详细 谢谢分享

loveness2012
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助


安全验证
文档复制为VIP权益,开通VIP直接复制
