Grid file

Grid file

In the field of Computer Science, a grid file is a multidimensional array, normally held on disk, and used as an index into a database of information. Consider a census database searchable by location. A data record represents a single household, and records are grouped into 'buckets', where all the records in a bucket relate to the same city, and to streets in that city whose names begin with the same letter. A grid file could be used to index this structure, where records came in 'groups' of 26, each of them relating to street names in a city, starting with one of the letters of the alphabet. Such an arrangement can be thought of as an array, table, or grid, with two dimensions. One might consider 'city' to be the y-axis, and 'first letter of street' to be the 'x-axis'. The records in such a structure are known as 'cells'. The cells will contain pointers to the appropriate bucket in the database where the data records are actually stored. An extra cell, or 'record header' will be necessary to store thecity name, but the other cells grouped with it need only contain the pointer to their appropriate bucket, since the first cell is for streets beginning with 'B' the second with 'A' and so on.If our database has ambitions of world domination, we might add another field 'continent'. Records in the same bucket would now relate to house-holds on streets starting with the same letter, in the same city, and on the same continent. The cells in the grid file would now consist of the 'city' header, and five groups of twenty six cells relating to streets starting with A-Z on each of the continents (six if we have friends in Antarctica), and could be thought of as a 3 dimensional array.It might be objected that the same thing can be achieved with a one dimensional list of records, where the key is made by combining the city name and first letter of the street name. However, this "is" a grid file, the only difference being that the key is now held in each cell, and so space is wasted.

References

* Donald Knuth. "The Art of Computer Programming", Volume 3: "Sorting and Searching", Second Edition. Addison-Wesley, 1998. ISBN 0-201-89685-0. Section 6.5: Searching, pp.564–566.
* Elmasri & Navathe "Fundamentals of Database Systems", Third Edition. Addison-Wesley, 2000. ISBN 0-201-54263-3. Section 6.4.3: Grid Files, pp.185.


Wikimedia Foundation. 2010.

Игры ⚽ Нужна курсовая?

Look at other dictionaries:

  • Grid FileSystem — A Grid File System is a computer file system whose goal is improved reliability and availability by taking advantage of many smaller file storage areas. [cite web url=http://www.sciencedirect.com/science? ob=ArticleURL udi=B6V06 4KKFP1T 2 user=10 …   Wikipedia

  • Grid — Several fields use or develop the idea of a grid: Arrays of squares or rectangles * Grid plan, a city plan in which streets run at right angles to form a grid of city blocks * Grid view or datagrid, a graphical user interface element that… …   Wikipedia

  • Grid-oriented storage — (GOS) is a dedicated data storage architecture which can be connected directly to a computational grid to support advanced data bank services and reservoirs for data that can be shared among multiple computers and end users on the grid.… …   Wikipedia

  • Grid casting — or Gridcasting is a file and stream sharing system that cooperates transparently by using idle bandwidth on a user s computer to deliver large scale live or on demand broadcasts. Gridcasting is used for the purpose of improving performance,… …   Wikipedia

  • Grid Resource Allocation Manager — or Globus Resource Allocation Manager (or GRAM) is a software component of the Globus Toolkit that can locate, submit, monitor, and cancel jobs on Grid computing resources. It provides reliable operation, stateful monitoring, credential… …   Wikipedia

  • Grid-Computing — ist eine Form des verteilten Rechnens, bei der ein virtueller Supercomputer aus einem Cluster lose gekoppelter Computer erzeugt wird. Es wurde entwickelt, um rechenintensive wissenschaftliche – insbesondere mathematische – Probleme zu lösen.… …   Deutsch Wikipedia

  • Grid Cache File — Game Cache File (.gcf) (файл игрового кэша) формат хранения, используемый Valve Corporation в системе Steam для распространения компьютерных игр и официального игрового контента. Данный формат использует для размещения игровых файлов подобие… …   Википедия

  • Grid view — This article is about a graphical user interface element. For a grid computing system that deals with data, see data grid. Screenshot of OpenOffice.org Calc. A grid view or a datagrid is a graphical user interface element (widget) that presents a …   Wikipedia

  • Grid Computing — Dieser Artikel oder Abschnitt bedarf einer Überarbeitung. Näheres ist auf der Diskussionsseite angegeben. Hilf mit, ihn zu verbessern, und entferne anschließend diese Markierung. Grid Computing ist eine Form des verteilten Rechnens, bei der ein… …   Deutsch Wikipedia

  • Grid computing — Dieser Artikel oder Abschnitt bedarf einer Überarbeitung. Näheres ist auf der Diskussionsseite angegeben. Hilf mit, ihn zu verbessern, und entferne anschließend diese Markierung. Grid Computing ist eine Form des verteilten Rechnens, bei der ein… …   Deutsch Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”