ISAM

ISAM

ISAM stands for "Indexed Sequential Access Method", a method for indexing data for fast retrieval. ISAM was originally developed by IBM for mainframe computers. Today the term is used for several related concepts:
* Specifically, the IBM ISAM product and the algorithm it employs.
* A database system where an application developer directly uses an Application Programming Interface to search indexes in order to locate records in data files. In contrast, a relational database uses a query optimizer which automatically selects indexes.
* An indexing algorithm that allows both sequential and keyed access to data. Most databases now use some variation of the B-Tree for this purpose, although the original IBM ISAM and VSAM implementations did not do so.
* Most generally, any index for a database. Indexes are used by almost all databases, both relational and otherwise.

In an ISAM system, data is organized into records which are composed of fixed length fields. Records are stored sequentially, originally to speed access on a tape system. A secondary set of hash tables known as "indexes" contain "pointers" into the tables, allowing individual records to be retrieved without having to search the entire data set. This is a departure from the contemporary navigational databases, in which the pointers to other data were stored inside the records themselves. The key improvement in ISAM is that the indexes are small and can be searched quickly, thereby allowing the database to access only the records it needs. Additionally modifications to the data do not require changes to other data, only the table and indexes in question.

Relational databases can easily be built on an ISAM framework with the addition of logic to maintain the validity of the links between the tables. Typically the field being used as the link, the "foreign key", will be indexed for quick lookup. While this is slower than simply storing the pointer to the related data directly in the records, it also means that changes to the physical layout of the data do not require any updating of the pointers -- the entry will still be valid.

ISAM is very simple to understand and implement, as it primarily consists of direct, sequential access to a database file. It is also very inexpensive. The tradeoff is that each client machine must manage its own connection to each file it accesses. This, in turn, leads to the possibility of conflicting inserts into those files, leading to an inconsistent database state. This is typically solved with the addition of a client-server framework which marshals client requests and maintains ordering. This is the basic concept behind a DBMS (Database Management System), which is a client layer over the underlying data store.

ISAM was replaced at IBM with a methodology called VSAM (Virtual Storage Access Method). Still later, IBM developed DB2 which, as of 2004, IBM promotes as their primary database management system. VSAM is the physical access method used in DB2.

The OpenVMS operating system uses the Files-11 file system in conjunction with RMS (Record Management Services). RMS provides an additional layer between the application and the files on disk that provides a consistent method of data organization and access across multiple 3GL and 4GL languages. RMS provides 4 different methods of accessing data; Sequential, Relative Record Number Access, Record File Address Access, and Indexed Access.

The Indexed Access method or reading or writing data only provided the desired outcome if, in fact, the file is organized as an ISAM file with the appropriate, previously defined keys. Access to data via the previously defined key(s) is extremely fast. Multiple keys, overlapping keys and key compression within the hash tables are supported. A utility to define/redefine keys in existing files is provided. Records can be deleted, although "garbage collection" is done via a separate utility. RMS, by default, allows only one reader or writer of a file because it does not provide a record locking mechanism and has no means of managing multiple writers to the same data record.

ISAM-style Implementations

* MySQL implements and extends ISAM as MyISAM.
* HP [http://docs.hp.com/en/32650-90421/ch07s02.html KSAM] (Keyed Sequential Access Method)
* Digital Equipment Corporation Record Management Services
* Paradox
* C-ISAM
* cTreePlus
* dBase and related products Clipper and Foxpro
* Btrieve
* Raima Database Manager

ee also

* Virtual storage access method
* Extensible Storage Engine
* B-tree
* Flat file


Wikimedia Foundation. 2010.

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

Look at other dictionaries:

  • ISAM — (англ. Indexed Sequential Access Method  Индексно Последовательный Метод Доступа)  способ хранения данных для быстрого доступа к ним. Способ был разработан компанией IBM для мейнфреймов в 1963 году, в настоящее время это основной… …   Википедия

  • ISAM — son siglas de Indexed Sequential Access Method (Método de Acceso Secuencial Indexado), se trata de un método para almacenar información a la que se pueda acceder rápidamente. ISAM fue desarrollado originalmente por IBM y en la actualidad forma… …   Wikipedia Español

  • ISAM —   [Abk. für Index sequential Access Method, dt. indexsequenzielle Zugriffsmethode], ein Verfahren, aus einem unsortierten, aber indizierten umfangreichen Datenbestand bestimmte Datensätze mithilfe sortierter (»sequenzieller«) Indexdateien zu… …   Universal-Lexikon

  • ISAM — Cette page d’homonymie répertorie les différents sujets et articles partageant un même nom.   Sigles d’une seule lettre   Sigles de deux lettres   Sigles de trois lettres > Sigles de quatre lettres …   Wikipédia en Français

  • ISAM — Die Abkürzung ISAM steht für: Index Sequential Access Method, ein Zugriffsverfahren für Dateien in der Informationstechnik Intelligent Services Access Manager Inside Sales Account Manager Diese Seite ist eine Begriffsklärung zur Unterscheidung …   Deutsch Wikipedia

  • ISAM (album) — ISAM Album par Amon Tobin Sortie Avril 2011 Durée 49 min 57 s Genre ÉlectroniqueExpérimental Label Ninja Tune …   Wikipédia en Français

  • Isam Bachiri — Infobox musical artist Name = Isam Bachiri birthdate = birth date and age|1|8|1977 Landscape = Background = group or band Alias = Origin = Denmark Genre = hip hop Years active = 1997 ndash; present Label = Sony BMG Associated acts = URL =… …   Wikipedia

  • Isam al-Qadi — Part of a series on Ba athism …   Wikipedia

  • Isam Singh — Shri Isam Singh a politician from Bahujan Samaj Party is a Member of the Parliament of India representing Uttar Pradesh in the Rajya Sabha, the upper house of the Indian Parliament.External links* [http://164.100.24.167:8080/members/website/Mainwe… …   Wikipedia

  • ISAM — Indexed Sequential Access Method (Computing » General) * Information Security Awareness Month (Computing » Security) * Information Security Awareness Month (Governmental » US Government) * Information Security Awareness Month (Governmental »… …   Abbreviations dictionary

Share the article and excerpts

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