The purpose of a relationship is to represent integrity rules between entities. As such, they serve a useful purpose in modeling your business. However, there is always overhead associated with a relationship. Since the DBMS must ensure the integrity of a relationship during update operations, they result in increased CPU and I/O. They may also require additional storage space.
While you should not sacrifice needed integrity, you should eliminate relationships that are not required for business reasons. Particularly review the need for:
For example, the DEPARTMENT-HEAD relationship may not require DBMS enforcement of integrity and, if so, should be eliminated as a relationship.
Examples of this type of relationship would be STATE-OFFICE or SEX-EMPLOYEE. Ensuring that each office is in a valid state or that each employee is assigned a valid sex should be done in one of the following ways rather than as a relationship.
In the Commonweather database, the relationship between INSCO and HEALTH INSURANCE PLAN can be removed.
Copyright © 2014 CA.
All rights reserved.
|
|