Query Processing and Optimization
Query Processing and Optimization
Query Processing and Optimization
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Index-based Join<br />
• Requires (at least) one index on a join attribute<br />
• A temporary index can be created<br />
Scan<br />
Outer<br />
for each<br />
record of<br />
s, query<br />
in index<br />
index on r<br />
r<br />
s<br />
if joins<br />
Output<br />
spill<br />
when full<br />
Main Memory<br />
13