By default, all constraint relationships within an entity are major. This can sometimes result in including excess data in the subset, when you run a subset operation. Optimize the relations such that the entity has a minimum number of major relations to ensure the subset operation fetches minimal data while considering all tables in the entity. You can also optimize relations at run time in a plan. When you optimize relations at run time, you do not save the changes to the entity.
The entity must have a criteria before you can optimize relations in the entity. TDM generates an error if you optimize relations without assigning criteria at the entity level.
Perform the following steps to optimize relations in an entity:
Open the entity.
Click
Actions
Optimize Relations
.
TDM analyzes the constraints in the entity and proposes major relationships or minor relationships based on analysis. The
Optimize Relationships
page displays the proposed relationship between each parent table and child table along with the current relationship.
Optional. Click
Download Optimizations
to download and save the optimization information in a CSV file.
Click
Optimize
to accept all the proposed relationships. You cannot apply results selectively .
A list of any plans that the entity is included in appears. To update the changes in the plans, generate and run the plans again.
Optional. To download the list of plans in a .csv file, click
Export
.
The file contains a list of the plans with the description and the project information.
Click
Continue
.
The entity is updated with the optimized relations. You can manually edit any required constraints even after you save the changes.