COMP9315 21T1 Final Exam |
The University of New South Wales COMP9315 DBMS Implementation 21T1 Final Exam |
DBMS Implementation |
Consider the following scenario:
Ignoring the cost of writing the final result tuples, calculate minimum cost estimates for the (R ⋈ S) operation for each of following join strategies:
block nested loop join, where you can choose either table as the outer relation
sort-merge join, where neither table is sorted initially
sort-merge join, where R is initially sorted, but S is not
sort-merge join, where S is initially sorted, but R is not
sort-merge join, where both tables are initially sorted
For each cost, show the minimum number of buffers required to acheive this cost.
Show all working.
Instructions: