company logo

SDB_PhysicalMainBase - Physical Main Base Definition

Inherits:  SDB_DataArea

The main base is the entry point to database access. besides main base 0, which is part of the root base definition, additional main bases may be defined. In this case, additional physical main base definitions are required (maximum 4094). Main bases are using aconsecutive number starting with 0. Main base 0 is the default main base defined for the root base.

When no main base is defined in a database schema, main base 0 with a dynamic data area 0 will be created when creating a root base for a new database.

Main base numbers are stored in 16 high order bytes of the database entry number (LOID). The 4 high order bits are reserved for main base type identification High and low number define the range of valid main base numbers within an LOID. Usually, the values for low and high are identical with the main base number, since the lower 48 bit for numbering database entries within a main base are sufficient for most main bases.

A physical schema can be defined using main base definitions in the main base extent (SDB_MainBase).

Attributes
References
Keys