Slideshow:
|
|
Let: Sk = length of a search key (in bytes) Sp = length of a pointer (in bytes) |
Example:
BlockSize = 4096 bytes Sk = 4 bytes (search key) Sp = 8 bytes Then: 4n + 8(n+1) ≤ 4096 12n + 8 ≤ 4096 12n ≤ 4088 n ≤ 340.666 ===> n = 340 search keys in 1 block |