Nested loops, hash joins and merge joins
Compare physical join algorithms from input size, indexes, ordering, memory and predicate shape without confusing a plan with join semantics. Physical operators · Databases.
Two tables can produce the same matching rows through very different work: repeated probes, a hash table, or an ordered walk. Follow the premise that makes each path plausible.
What you will learn
- Trace nested-loop and index-nested-loop work
- Compare hash build-probe with a sorted merge walk
- Keep NULL and outer-join semantics separate from physical choice
Lesson outline
- Which side is repeated
- Build, probe or merge
- Choose from evidence
17 minutes · 2 scenes · 0 predict checks · 10 quiz questions
The full lesson is available with Premium.