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.

• Statistics<br />

Operation 3: σ followed by a π<br />

• Relation statistics: r Customer = 200 b Customer = 10<br />

• Attribute statistics:s Street = 10<br />

• Result relation size: 10 tuples.<br />

• Operation: Linear search of Customer. Leave result in<br />

main memory (one block).<br />

• Cost: C 3 = 10<br />

43

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

Saved successfully!

Ooh no, something went wrong!