Concept Flow - How an index works (B-tree mental model)
Start: Search for value
Check root node keys
Go to child node
Repeat check keys in node
Reach leaf node
Find value or conclude not found
End
The B-tree index starts at the root, compares keys to decide which child node to follow, repeats this until reaching a leaf node where the value is found or not.