GOCDB/PROM

From EGIWiki
< GOCDB
Revision as of 11:34, 17 November 2010 by Aesch (talk | contribs)
Jump to: navigation, search

This page is part of the GOCDB4 Architecture Documentation

PROM (Pseudo-Relational Object Model)

The PROM is a database model implemented on top of a standard database. PROM's main goal is to facilitate schema changes, without affecting existing software that uses the database or the existing stored data.

This is achieved by storing the relations in a set of database tables and enforcing these relations through an external API rather than querying the database directly.

Objects: Groups of Data

PROM group data together in objects, rather than in tables. Each object is of a specific type and each object from this type is stored in a specified database table. There is no limit to the number of different object types that can be stored in a single table provided that the objects contain identically formatted fields. A complete list of all the objects stored in the database can be found in a table named TOBJECTS. Each object type is associated with a unique type number. A list of object types, descriptions of the type and associated type numbers can be found in the table TOBJECT_TYPES.