Question: Consider an index using extendible hashing for which: Each bucket can hold up to 3 records The index is completely empty The hashing function maps
Consider an index using extendible hashing for which:
Each bucket can hold up to records
The index is completely empty
The hashing function maps the d lowestbits of each input to a bucket. For example, if
then key and key have a matching hash
Since the hash table is empty the initial global depth is :
We insert key in order,
The global directory depth of the index at this point is :
Then we insert key
The local depth d of the bucket that contains the key is now :
The local depth d of the bucket that contains the key is now :
The resulting global directory depth of the index now is :
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
