Which statement correctly describes a key structural property of B+ trees used for indexing?
Think about where the actual data entries are stored in a B+ tree.
In B+ trees, all actual data records are stored in the leaf nodes. Internal nodes only contain keys to direct the search path, not the data itself.
For a B+ tree of order m, what is the maximum number of children an internal node can have?
Recall the definition of order in B+ trees related to children count.
In a B+ tree of order m, each internal node can have at most m children and at least ⌈m/2⌉ children (except root).
When inserting a new key causes a leaf node to split in a B+ tree, what is the immediate effect on the tree's height?
Consider when the root node splits during insertion.
Splitting a leaf node adds a new node at the same level. The tree height only increases if the root node splits, creating a new root.
Which of the following best distinguishes a B+ tree from a B tree in the context of database indexing?
Think about where the actual data records are stored in each tree type.
B+ trees store all data pointers in leaf nodes and link these leaves for efficient range queries. B trees store data pointers in all nodes, not just leaves.
Why are B+ trees particularly efficient for range queries compared to other tree structures?
Consider how leaf nodes are connected in B+ trees.
B+ trees link their leaf nodes in a linked list, enabling efficient sequential access to keys in order, which makes range queries fast.