while ( R has more data blocks ) { read data blocks to fill available buffer; check condition for each tuple in buffers; Move qualifying tuples to output } |
Buffer utilization using M buffers:
|
Result:
|
|
|
Therefore:
|
Note:
|