Extendible hashing example: Assuming each leaf (bucket) can hold up to 4 key values (M=4) Directory (“root”) In general:
Posted: Sat May 14, 2022 7:29 pm
Extendible hashing example: Assuming each leaf (bucket) can hold up to 4 key values (M=4) Directory (“root”) In general: dL SD (in main memory) D=2 0001 10" Comparison with 2-level B tree “Sinlge pointer” if dL = D Multiple pointers to a bucket if dL <D (2) Indicates 2 leading bits in a leaf are needed to distinguish key values (records) (2) (2) (2) (2) dL=2 000100010100 100000111000 001000011000101000111001 Leaf: Bucket (Disk block) 001010 101100 001011 101110 M=4