Each entity in the database carries one, two, or three pointers for each chained relationship in which it participates. You should usually include all allowable pointers for each entity:
Omitting prior pointers
Prior pointers can be omitted under the following conditions:
Omitting owner pointers
Owner pointers (db-keys pointing to the parent) can be omitted under the following conditions:
Note: Be sure to include an OWNER pointer for any entity that participates as a child in more than one relationship since the child entity is probably an entity created to implement a many-to-many relationship. In this case, the system will most likely need to access parent entities from the child entities regularly.
Pointers in indexed relationships
The parent of an indexed relationship has the following mandatory pointers:
For further information on the structure of an index, see Chapter 15, "Determining the Size of the Database".
The child entity occurrence of an indexed relationship has one mandatory and one optional pointer:
For further information on the structure of indexed relationships, see Chapter 15, "Determining the Size of the Database".
For further information on indexed relationships, see CA IDMS Database Administration Guide.
Representing linkage
Represent relationship linkage on the data structure diagram by identifying the pointers to be used. For example, specifying NPO indicates that next, prior, and owner pointers are to be used.
For an indexed relationship, specify I or IO.
Copyright © 2014 CA.
All rights reserved.
|
|