Computer Science, asked by bimalpahari4268, 1 year ago

Causes of bucket overflow in a hash file organization

Answers

Answered by aditijaink283
0

Answer:

The answer to the given question is explained in the explanation.

Explanation:

When a record is inserted, the container to which it is mapped takes up space to store the record.

If the bin does not have enough space, an overflow is expected to occur.

Pool overflow can occur for various reasons:

* not enough buckets:

The number of buckets, which we indicate as nb, must be chosen such that nb > nc/ff, where n, indicates the total number of records to be stored, and fr indicates the number of records to be moved into a bucket.

This designation assumes, of course, that the total number of records is known when the hash is selected.

* Skew: Some buckets are allocated more records than others, so one bucket can overflow even if the others still have space. This situation is called bucket deviation.

#SPJ2

Similar questions