Dynamic Hashing in Data structure| Dynamic Hashing in DBMS
Dynamic Hashing Handwritten Notes- Click Here Dynamic Hashing allows the hash table to grow or shrink dynamically according to the amount of data. The number of buckets changes dynamically. Bucket overflow is handled by splitting or expanding. It is suitable for storing large amounts of data. Extendible Hashing Extendible Hashing is a dynamic hashing technique. It uses a directory with Global Depth. Each bucket has a Local Depth .(Last bit) When a bucket becomes full, it is split into two buckets. If required, the directory size is doubled. It uses suffix bits (last bits) to identify the buckets. Example Values = 11, 18, 20, 25, 29, 33 Bucket Size = 2 Binary Representation Value Binary Last 1 Bit Last 2 Bits Last 3 Bits 11 1011 1 11 011 18 10010 0 10 010 ...