Saved Bookmarks
| 1. |
Why Is A Hash Structure Not The Best Choice For A Search Key On Which Range Queries Are Likely? |
|
Answer» A range query cannot be ANSWERED efficiently using a hash index, we will have to read all the buckets. This is because key VALUES in the range do not OCCUPY consecutive locations in the buckets, they are distributed UNIFORMLY and randomly throughout all the buckets. A range query cannot be answered efficiently using a hash index, we will have to read all the buckets. This is because key values in the range do not occupy consecutive locations in the buckets, they are distributed uniformly and randomly throughout all the buckets. |
|