Relational database

A relational database is a database that can be perceived as a set of tables and can be manipulated in accordance with the relational model of data. The relational database contains a set of objects used to store, access, and manage data. The set of objects includes tables, views, indexes, aliases, distinct types, functions, procedures, sequences, and packages.

There are three types of relational databases a user can access from an iSeries system.

system relational database
There is one default relational database on any iSeries system. The system relational database is always local to that iSeries system. It consists of all the database objects that exist on disk attached to the iSeries system that are not stored on independent auxiliary storage pools. For more information on independent auxiliary storage pools, see the System Management category of the iSeries™ Information Center.

The name of the system relational database is, by default, the same as the iSeries system name. However, a different name can be assigned through the use of the ADDRDBDIRE (Add RDB Directory Entry) command or iSeries Navigator.

user relational database
The user may create additional relational databases on an iSeries system by configuring independent auxiliary storage pools on the system. Each primary independent auxiliary storage pool is a relational database. It consists of all the database objects that exist on the independent auxiliary storage pool disks. Additionally, all database objects in the system relational database of the iSeries system to which the independent auxiliary storage pool is connected are logically included in a user relational database. Thus, the name of any schema created in a user relational database must not already exist in that user relational database or in the associated system relational database.

Although the objects in the system relational database are logically included in a user relational database, certain dependencies between the objects in the system relational database and the user relational database are not allowed:

Other dependencies between the objects in the system relational database and the user relational database are allowed. For example, a procedure in a schema in a user relational database may reference objects in the system relational database. However, operations on such an object may fail if the other relational database is not available. For example, if a user relational database is varied off and then varied on to another system.

A user relational database is local to an iSeries system while the independent auxiliary storage pool is varied on. Independent auxiliary storage pools can be varied off on one iSeries system and then varied on to another iSeries system. Hence, a user relational databases may be local to a given iSeries system at one point in time and remote at a different point in time. For more information on independent auxiliary storage pools, see the System Management category of the iSeries Information Center.

The name of the user relational database is, by default, the same as the independent auxiliary storage pool name. However, a different name can be assigned through the use of the ADDRDBDIRE (Add RDB Directory Entry) command or iSeries Navigator.

remote relational database
Relational databases on other iSeries and non-iSeries systems can be accessed remotely. These relational databases must be registered through the use of the ADDRDBDIRE (Add RDB Directory Entry) command or iSeries Navigator.

The database manager is the name used generically to identify the iSeries Licensed Internal Code and the DB2 UDB for iSeries portion of the code that manages the relational database.



[ Top of Page | Previous Page | Next Page | Contents | Index ]