Question

Database Management System State the algorithms that apply for hanging nodes in a B+ Tree and...

Database Management System

State the algorithms that apply for hanging nodes in a B+ Tree and tell me how they are different from the B Tree algorithms for hanging new nodes.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

1. If node is not full add the record.
2. else split the bucket.
a. Insert the new leaf and move half the bucket’s elements to the new bucket.
b. Insert the new leaf’s smallest key and address into the parent.
c. If the parent is full, split the parent.
i. Add middle key to parent node.
d. Repeat until a parent is found that doesn't need to split.
3. If the root splits, create a new root which has one key and two pointers.

Unlike the B Tree insert node algorithm, B+ tree insert algorithm insert the new node only as a leaf node. But B tree algorithms can insert node as interior nodes.

Add a comment
Know the answer?
Add Answer to:
Database Management System State the algorithms that apply for hanging nodes in a B+ Tree and...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT