Could someone explain or point me to a resource that explains how a relational database (like Postgres or MySQL, I use Postgres more though) implements join
s?
For instance, I can roughly tell you that indexes might be made of a B tree where nodes are conditions that might be present in a where
clause. This index is built up whenever a change involves the index (like an insert
). And from this information, I can assume that an unindexed column will be faster at insert
and that an index might not help with certain searches, like regex
or like
pattern matching.
I'm looking to have a similar or better understanding of what happens when you do one or more join
s.