علوم الحاسب
الفرقة الثانية
معالجة الملفات
File Processing
Computer Science Department
Extendible Hashing
Use directory of pointers to buckets.
Extendible Hashing avoids overflowing pages by splitting a full bucket
when a new data entry is to be added to it.
There are global depth and local depth.
Example: Directory is array of size 4, so 2 bits needed.
Insert: H(r) → 21, 19, 15
Insert: H(r) → 20
Delete: If removal of data entry makes bucket empty, can be merged
with `split image’.
1|Page