Go to the first, previous, next, last section, table of contents.


Database Files

The DB library has been constructed to provide a standard interface between the database files and application programs. Alternate means of access to database files is strongly discouraged, since file formats may change. Database files are located in the directories specified by DB (see section The Database Path).

Recall that a DB record is not a file; rather, it is an extensible collection of database files (see section Records). Thus, for example, record 100 of the MIT-BIH Arrhythmia Database consists of the files named `100.hea', `100.dat', and `100.atr' in the `mitdb' directory of the MIT-BIH Arrhythmia Database CD-ROM, together with any additional files in other directories that you may have associated with record 100 (such as your own annotation file). All files associated with a given record include the record name in their file names, either as the first part of the name (the default on writable UNIX and Macintosh file systems) or as the suffix or extension (on CD-ROM and MS-DOS file systems). Applications that use the DB library under UNIX or the Macintosh OS can locate files named using either of these conventions. No explicit action (other than choosing the file name, and locating the file in the DB path) is needed in order to associate a new file with an existing DB record.

To find the location of a database file easily, you can use `dbwhich', an application included with the DB Software Package. Type dbwhich for brief instructions on its use, or see the ECG Database Applications Guide.

File Types

There are four types of files supported by the DB library:


Go to the first, previous, next, last section, table of contents.



George B. Moody (george@hstbme.mit.edu)