lec22 - B-Trees Large degree B-trees used to represent very...

Info iconThis preview shows pages 1–10. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: B-Trees Large degree B-trees used to represent very large dictionaries that reside on disk. Smaller degree B-trees used for internal-memory dictionaries to overcome cache-miss penalties. AVL Trees Red-Black Trees m-way Search Trees Each node has up to m 1 pairs and m children. m = 2 => binary search tree. 4-Way Search Tree 10 30 35 k < 10 10 < k < 30 30 < k < 35 k > 35 Maximum # Of Pairs Happens when all internal nodes are m-nodes. Full degree m tree. Capacity Of m-Way Search Tree m = 2 m = 200 h = 3 7 8 * 10 6 - 1 h = 5 31 3.2 * 10 11 - 1 h = 7 127 1.28 * 10 16 - 1 Definition Of B-Tree Definition assumes external nodes (extended m-way search tree). B-tree of order m . m-way search tree. Not empty => root has at least 2 children. Remaining internal nodes (if any) have at least ceil(m/2) children. External (or failure) nodes on same level. 2-3 And 2-3-4 Trees B-tree of order m ....
View Full Document

Page1 / 29

lec22 - B-Trees Large degree B-trees used to represent very...

This preview shows document pages 1 - 10. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online