Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. In computer
science, a B-tree is a tree data structure that keeps data sorted and
allows searches, sequential access, insertions, and deletions in
logarithmic time. The B-tree is a generalization of a binary search tree
in that a node can have more than two children. Unlike self-balancing
binary search trees, the B-tree is optimized for systems that read and
write large blocks of data. It is commonly used in databases and
filesystems. In B-trees, internal nodes can have a variable number of
child nodes within some pre-defined range. When data is inserted or
removed from a node, its number of child nodes changes.