Reorganization for logically related databases
The following figure depicts three types of logical relationships.
- Internal logical relationship
- External logical relationship with symbolic pointers only
- External logical relationship with direct pointers
The internal logical relationship is between two segments in the same database D1. The logical child segment D1S3 points to the logical parent segment D1S2 using the LPCK of the logical parent. The LPCK of the logical parent is stored in the data portion of the logical child. The logical parent does not point back to the logical child.
The external logical relationship with symbolic pointers only is between a logical child segment D1S5 in D1 and a logical parent segment D2S1 in D2. The nature of the relationship is the same as the internal logical relationship only the segments reside in different databases.
The external logical relationship with direct pointers is a bidirectional relationship between a logical child segment D1S4 in D1 and a logical parent segment D2S3 in D2. The logical child points to the logical parent using the LPCK of the logical parent. The logical parent points back to the logical child using the RBA of the logical child. The RBA of the logical child D1S4 is stored in the prefix of D2S3.

This section contains the following topics: