Slideshow:
How to find this record:
|
insert( recordSearchKey, recordPtr )
{
B = Lookup( recordSearchKey );
Let b = the last bucket block in the chain B;
if ( b has room for record )
{
Insert recordSearchKey, recordPtr in block b;
}
else
{
Allocate an overflow block for bucket;
Link overflow block to b
Insert recordSearchKey, recordPtr in overflow bucket block;
}
}
|
|
|
|