Table of Contents

Search

  1. Preface
  2. Introduction to Test Data Management
  3. Test Data Manager
  4. Projects
  5. Policies
  6. Data Discovery
  7. Data Subset
  8. Data Masking
  9. Data Masking Techniques and Parameters
  10. Data Generation
  11. Data Generation Techniques and Parameters
  12. Data Sets
  13. Plans and Workflows
  14. Monitor
  15. Reports
  16. ilmcmd
  17. tdwcmd
  18. tdwquery
  19. Data Type Reference
  20. Data Type Reference for Test Data Warehouse
  21. Data Type Reference for Hadoop
  22. Glossary

Optimizing Relations

Optimizing Relations

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:
  1. Open the entity.
  2. 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.
  3. Optional. Click
    Download Optimizations
    to download and save the optimization information in a CSV file.
  4. 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.
  5. 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.
  6. Click
    Continue
    .
    The entity is updated with the optimized relations. You can manually edit any required constraints even after you save the changes.