Introduction




Download 1,09 Mb.
bet46/62
Sana21.03.2017
Hajmi1,09 Mb.
#917
1   ...   42   43   44   45   46   47   48   49   ...   62
4.2.1 Extendible hashing

Traditional hash methods are burdened with 2 disadvantages:



  • Sequential processing of a file according to the natural order on the keys is not supported.

  • They are not extendible.

Hash table size is pre-determined

Hash table size heavily relies on hash function



Overestimation of the number of records results in wasted space.

Underestimation of the number of records results in rehashing

Extendible hashing method allows hashing to adapt to dynamic files. Hash tables are naturally balanced. By extending the hash address space from the directory address space, hash tables can be made extendible.



Download 1,09 Mb.
1   ...   42   43   44   45   46   47   48   49   ...   62




Download 1,09 Mb.