Published August 1, 1990 | Version v1
Journal article

A C programmer's view of a relational database

  • 1. Brookhaven National Lab., Upton, NY (USA). AGS Dept.

Description

The AGS Distributed Control System (AGSDCS) uses a relational database (Interbase) for the storage of all data on the host system network. This includes the static data which describes the components of the accelerator complex, as well as data for application-program setup and data records that are used in analysis. By creating a mapping of each relation in the database to a C record and providing general tools for relation (record) access, all the data in the database is available in a natural fashion to all the C programs on any of the nodes of the control system. In this paper the correspondence between the Interbase relations and the C structure is detailed with examples of C 'typedefs' and relation definitions. It is also shown how the relations can be put into memory and linked (related) together when fast access is needed by programs. (orig.)

Additional details

Publishing Information

Journal Title
Nuclear Instruments and Methods in Physics Research, Section A
Journal Volume
293
Journal Issue
1/2
Series
Nucl. Instrum. Methods Phys. Res., Sect. A.
Journal Page Range
402-404
ISSN
0168-9002
CODEN
NIMAE

Conference

Title
International conference on accelerator and large experimental physics control systems (ICALEPCS).
Dates
30 Oct - 3 Nov 1989.
Place
Vancouver (Canada).

INIS

Country of Publication
Netherlands
Country of Input or Organization
Netherlands
INIS RN
21094704
Subject category
S43: PARTICLE ACCELERATORS;
Resource subtype / Literary indicator
Conference
Descriptors DEI
BROOKHAVEN AGS; COMPUTER CALCULATIONS; COMPUTER NETWORKS; CONTROL SYSTEMS; MEMORY DEVICES; REMOTE CONTROL
Descriptors DEC
ACCELERATORS; CONTROL; CYCLIC ACCELERATORS; SYNCHROTRONS