If you know the order of a B-tree, how do you figure out the maximum number of descendants from a page?
+1
A:
It depends on the current depth below that page, then it's just arithmetic.
EJP
2010-04-03 01:34:06
I'm still not getting it. Can you or someone else elaborate with an example?
Phenom
2010-04-03 02:15:35
If you have one set of pages below the current page, the maximum number of descendants from that page is N squared, because there can be up to N descendants and each can contain up to N items. If you have another level below that ... work it out for yourself ...
EJP
2010-04-06 08:46:35
+2
A:
The maximum number of descendants is just the number of points in the node, since each pointer points to a descendant.
Phenom
2010-04-06 18:11:42