Question: . Consider a relation s ( A , B ) with the following characteristics: s has 7 0 0 , 0 0 0 tuples with
Consider a relation sAB with the following characteristics:
s has tuples with tuples per disk block
s has an index on attribute A with index height xie the index has nodes on levels
The values that the attribute A takes in relation s are integers which are uniformly distributed in the range
Uniformly distributed there are roughly tuples for each A value.
a Assuming that the index on A is a secondary index, estimate the number of disk block accesses needed to
compute the query sigma As
b What would be the estimated cost if the index were a clustering index?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
