中文网站
  Advanced Search
Read the latest Blogs from IT professionals in the field. Read and write community created documents. Need IT help? Ask our staff. Connect with your peers. Check our Tech Shop for posters, books and software tools. Home

12.5 Database Systems: Join Strategies

1. We've seen how to estimate the size of a join. Now we look at estimating the cost of processing a join.

2. Several factors in fluence the selection of an optimal strategy:

  • Physical order of tuples in a relation.
  • Presence of indices and type of index (clustering or not).
  • Cost of computing a temporary index for the sole purpose of processing one query.

3. We'll look at computing the expression deposit ∝ customer assuming no indices exist. We also let

ndeposit = 10,000 (number of deposit tuples)
ncustomer = 200 (number of customer tuples)

Database System Structure: