*** Welcome to piglix ***

Block nested loop


A block-nested loop (BNL) is an algorithm used to join two relations in a relational database.

This algorithm is a variation on the simple nested loop join used to join two relations and (the "outer" and "inner" join operands, respectively). Suppose . In a traditional nested loop join, will be scanned once for every tuple of . If there are many qualifying tuples, and particularly if there is no applicable index for the join key on , this operation will be very expensive.


...
Wikipedia

...