14.02.2014 Views

Query Processing and Optimization

Query Processing and Optimization

Query Processing and Optimization

SHOW MORE
SHOW LESS

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

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!