A grid file is usually used in cases where a single value can be referenced by multiple keys.
A grid file began being used because "traditional file structures that provide multikey access to records, for example, inverted files, are extensions of file structures originally designed for single-key access. They manifest various deficiencies in particular for multikey access to highly dynamic files."
In a traditional single dimensional data structure (e.g. hash), a search on a single criterion is usually very simple but searching for a second criterion can be much more complex.
Grid files represent a special kind of hashing, where the traditional hash is replaced by a grid directory.
Read more about Grid File: Advantages, Disadvantages, Related Data Structures
Famous quotes containing the word file:
“I have been a soreheaded occupant of a file drawer labeled Science Fiction ... and I would like out, particularly since so many serious critics regularly mistake the drawer for a urinal.”
—Kurt Vonnegut, Jr. (b. 1922)