Exercise 1: Searching in Sorted File
Consider this sorted file with overflows (b=5, c=4):
Compute the cost for answering each of the following:
-
select * from R where k = 24
-
select * from R where k = 3
-
select * from R where k = 14
-
select max(k) from R
|