In
computer science, a
B-tree is a
tree data structure that keeps data sorted and allows searches, insertions, and deletions in logarithmic
amortized time. Unlike
self-balancing binary search trees, it is optimized for systems that read and write large blocks of data. It is most commonly used in
databases and
filesystems.