

























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


























1
2
4
5
7
8
0
1
2
3
a
b
c
e
d
EXAMPLE: deletion
Delete:
e
f
f
g
maybe move
“g” up
c
d
distribution of keys by the hash function is sufficiently
"even", then most buckets have no overflow blocks
insertion/deletion take two
trees
queries as B-trees do)
10
How do we cope with growth?
11
Extensible
Linear
(b) Use directory
h(K)[ i ] to bucket
14
determine membership in B
15
old entry w pointed to (block is shared)
17
Example: h(k) is 4 bits; 2 keys/bucket
i =
18
Insert 1010
New directory
00
01
10
11
i =
20
00
01
10
11
Insert:
Example continued
000
001
010
011
100
101
110
111
Extensible hashing: deletion
and cut directory if possible
(Reverse insert procedure)
21