Question: 2. [30 marks] Consider the Linear Hashing index shown in Figure 2. Assume that we split whenever an overflow page is created. Answer the following

2. [30 marks] Consider the Linear Hashing index shown in Figure 2. Assume that we split whenever an overflow page is created. Answer the following questions about this index:

2. [30 marks] Consider the Linear Hashing index shown in Figure 2.

Figure 2. Linear Hashing (1) Show the index after inserting an entry with hash value 80. 46 20* 25* 34* 38* 46* 53* 58* 70* 84* 90* 96* 20 34 70 90 (2) Show the index after inserting an entry with hash value 38 into the original tree. (3) Find a list of entries whose insertion into the original index would lead to a bucket with two overflow pages. Use as few entries as possible to accomplish this. What is the maximum number of entries that can be inserted into this bucket before a split occurs that reduces the length of this overflow chain?

Figure 2. Linear Hashing

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!