SLIDE 1
1
B B-
- Trees
Trees Search for key R Work =
( ) ( ) ( ) ( )
logt h n Θ = Θ = Θ
B B-
- Trees
Trees B B-
- Trees
Trees Each Disk-Read or Disk-Write = one Basic unit of work O(1) B B-
- Trees
Trees Typical Node x Typical Node x See example on whiteboard
1 # 2 1 t Keys t − ≤ − ≤ ≤ − # 2 t Children t ≤ ≤ ≤ ≤ # 2 1 Keys t node is full = − = − ⇒ 2 t = ⇒ 2-3-4 B-Tree
Each node is approx. one page of HD memory B B-
- Trees
Trees
Thm: Let T be a B-tree with n>2 keys and of minimum degree . Then the height h of the B-tree is bounded above by
2 t ≥
1 log 2
t