Question: Answer the following questions about Extendible Hashing: 1. Explain why local depth and global depth are needed. 2. After an insertion that causes the directory
Answer the following questions about Extendible Hashing:
1. Explain why local depth and global depth are needed.
2. After an insertion that causes the directory size to double, how many buckets have exactly one directory entry pointing to them? If an entry is then deleted from one of these buckets, what happens to the directory size? Explain your answers briefly.
3. Does Extendible Hashing guarantee at most one disk access to retrieve a record with a given key value?
4. If the hash function distributes data entries over the space of bucket numbers in a very skewed (non-uniform) way, what can you say about the size of the directory?
What can you say about the space utilization in data pages (i.e., non-directory pages)?
5. Does doubling the directory require us to examine all buckets with local depth equal to global depth?
6. Why is handling duplicate key values in Extendible Hashing harder than in ISAM?
Step by Step Solution
3.43 Rating (162 Votes )
There are 3 Steps involved in it
The answer to each question is given below 1 Extendible hashing allows the size of the directory to increase and decrease depending on the number and variety of inserts and deletes Once the directory ... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
960-C-S-D (2465).docx
120 KBs Word File
