1,366 views
0 votes
0 votes

In B+ tree deletion,

1) What would happen, if a node to be deleted is a right child? (Since, many books are considering deletion on left node only)

2) How redistribution would happen, if there is a tree with order p = 7, and there are 2 children of root node where

  • left child has 3 entries and right child has 7 entries, and 1 entry of left child is to be deleted?
  • left child has 7 entries and right child has 3 entries, and 1 entry of right child is to be deleted?

3) Any good reference to study B+ tree & B tree?

1 Answer

0 votes
0 votes

B-trees are  commonly used in databases and file systems. 

A B+ tree can be viewed as a B-tree in which each node contains only keys (not key–value pairs), and to which an additional level is added at the bottom with linked leaves. B+ tree is a data structure often used in the implementation of database indexes.

1) B+ tree deletion :  https://web.eecs.umich.edu/~akamil/teaching/su02/080802.pdf

2) http://cs.stackexchange.com/questions/50384/how-the-deletion-takes-place-in-b-tree 

https://www.cs.princeton.edu/courses/archive/fall08/cos597A/Notes/BplusInsertDelete.pdf

3) B+ tree :  http://sketchingdream.com/blog/b-plus-tree-tutorial/

B tree : http://www.geeksforgeeks.org/b-tree-set-1-introduction-2/ 

Related questions

0 votes
0 votes
1 answer
1
gauravkumawat asked Jun 13, 2023
920 views
please solve in paper formet Explain the properties of B-Tree Also Construct B+ tree with order P=410,5,30,40,20,17,90,45,93,60,20,50,29
0 votes
0 votes
0 answers
2
0 votes
0 votes
1 answer
3
Crackcer asked Jan 10, 2022
248 views
1. Suppose there is a B-tree, such that internal node with order 86 and leaf node with order 103.2. A B+ tree with internal order is 171 and leaf node with order 103.In b...
2 votes
2 votes
2 answers
4