Answering Partial Match queries using a
Partitioned Hashing index
Conclussion:
Answering Range queries using a
Partitioned Hashing index
Answering Range queries using a
Partitioned Hashing index
Translates to
the following sets of
values:
Answering Range queries using a
Partitioned Hashing index
Hash
each pair of
(Age, Salary) and find
its bucket:
Note:
there are duplicate bucket pointers !
(See:
(35, 50K) and
37, 50K))
Answering Range queries using a
Partitioned Hashing index
Hash
each pair of
(Age, Salary) and find
its bucket:
We must collect all the bucket pointers and
remove duplicate bucket pointers
before accessing
the data !
Answering "Nearest Neighbor" queries using a Partitioned Hashing index
Answering "Nearest Neighbor" queries using a Partitioned Hashing index
- Why
Suppose the
search key 1 is
hashed into
some bucket:
Answering "Nearest Neighbor" queries using a Partitioned Hashing index
- Why
The nearest neighbor 2 can
hashed far away while
a far-away neighbor is
hashed next to the
key:
Answering "Where-am-I" queries using a Partitioned Hashing index
Grid index vs. Partitioned Hash index
Grid index can
have poor occupancy rate in
many grid buckets:
Many grid buckets can be
empty
Partitioned hashing
does not have this problem:
❮
❯