Presentation is loading. Please wait.

Presentation is loading. Please wait.

Hashing with Buckets. read 1 6+4 = 10.

Similar presentations


Presentation on theme: "Hashing with Buckets. read 1 6+4 = 10."— Presentation transcript:

1 Hashing with Buckets

2

3

4

5

6

7

8 read

9

10 1

11 6+4 = 10

12

13 2

14

15 Cluster 1: Adams  Coles  Flint Cluster 2: Bates  Dean

16 The problem is that the home address of dean, which is the head of a cluster, is not free (20)Adams  (20)Coles  (22)Dean  (20)Flint Two clusters Overlapped

17 25 22 23

18

19 3

20 b >=1, may be more than one slot in bucket

21 4 Actual Addresses. See next slide Applicable to variable length records

22

23 Patterns of records access

24 Summary : Hashing technique Progressive overflow Other techniques 1.Double hashing 2.Chained progressive overflow 3.Chaining with a separate overflow area 4.Scatter tables Buckets


Download ppt "Hashing with Buckets. read 1 6+4 = 10."

Similar presentations


Ads by Google