The Birth and Design Philosophy of the B-Tree - Invented in 1970 by Rudolf Bayer and Edward McCreight, the B-Tree was named after the B in "Balanced" (or the B in Bayer). It was designed to minimize disk accesses, which are much slower than main memory, and because multiple keys can be compared in a single disk read, search efficiency is high.
B-Tree vs B+Tree - Most real-world databases use B+Trees. In a B+Tree, all data is stored only in leaf nodes, and the leaf nodes are connected to one another by a linked list. This structure is overwhelmingly advantageous for range queries (BETWEEN, ORDER BY). Internal nodes contain only routing keys, so they can have more children.
Order and Structure - The order m of a B-Tree is the maximum number of children each node can have. Each node must have at least ⌈m/2⌉ children and stores at most m-1 keys. For example, a B-Tree of order 4 has 2-4 children and 1-3 keys. Databases typically use orders in the hundreds to thousands.
Insertion and Splitting (Split) - When a node is full as a new key is inserted, it is split in two around the median value. The middle key moves up to the parent, and this process can propagate up to the root, increasing the height of the tree. On deletion, the opposite occurs: a merge (Merge).
Use in Databases - InnoDB's clustered index (Primary Key) stores data directly in a B+Tree, and secondary indexes refer to the Primary Key. PostgreSQL's default index is also a B-Tree, applied by default when CREATE INDEX is used. Index size, page splits, and the buffer pool are key to performance.