Social Sciences, asked by celin7996, 1 year ago

Difference between internal and external hashing

Answers

Answered by Sidyandex
3
The basic difference between internal and external hashing is that internal hashing is mainly used for an internal file it in particularly an array of records whereas, Externalhashing is used for file disk.

Hashing is the transformation of a string of characters into a usually shorter fixed-length value and key that represents the original string.

This is used to index and retrieve items in a database because it is faster to find the item using the shorter hashed key than to find it using the original value.
Answered by probrainsme102
0

Answer:

Internal and External hashing

Explanation:

The address of the hash key is contained in an array used for internal hashing.

A collision will result if another hash key assigns to the same index of the array because every array index can only contain one address of the hash key.

External hashing, on the other hand, primarily uses buckets of M.

External hashing is the term for hashing files on a drive.

The target address space is divided into buckets that can each carry numerous records in order to match the features of disc storage.

For disc files, external hashing

External hashing is the term for hashing files on a drive.

Without employing an index structure, hashing is a useful method for determining the precise placement of a data record on the disc.

#SPJ3

Similar questions