<s>
A	O
nested	B-Algorithm
loop	I-Algorithm
join	I-Algorithm
is	O
a	O
naive	O
algorithm	O
that	O
joins	O
two	O
sets	O
by	O
using	O
two	O
nested	O
loops	O
.	O
</s>
<s>
The	O
block	B-Algorithm
nested	I-Algorithm
loop	I-Algorithm
join	O
algorithm	O
is	O
a	O
generalization	O
of	O
the	O
simple	O
nested	O
loops	O
algorithm	O
that	O
takes	O
advantage	O
of	O
additional	O
memory	B-General_Concept
to	O
reduce	O
the	O
number	O
of	O
times	O
that	O
the	O
relation	O
is	O
scanned	O
.	O
</s>
<s>
It	O
loads	O
large	O
chunks	O
of	O
relation	O
R	O
into	O
main	O
memory	B-General_Concept
.	O
</s>
<s>
For	O
each	O
chunk	O
,	O
it	O
scans	O
S	O
and	O
evaluates	O
the	O
join	O
condition	O
on	O
all	O
tuple	O
pairs	O
,	O
currently	O
in	O
memory	B-General_Concept
.	O
</s>
