Ch05-Advanced Data Modeling
Chapter 5
Advanced Data Modeling
Discussion Focus
Your discussion can be divided into three parts to reflect the chapter coverage:
The first part of the discussion covers the Extended Entity Relationship Model.
a. Start by exploring the use of entity supertypes and subtypes.
b. Use the specialization hierarchy example in Figure 5.2 to illustrate the main constructs.
c. Illustrate the benefits of attribute inheritance and relationship inheritance.
d. Remember that an entity supertype and an entity subtype are related in a 1:1 relationship.
e. Emphasize the use of the subtype discriminator and then explain the concept of
overlapping and disjoint constraints in relation to entity subtypes.
f. The completeness constraint indicates whether all entity supertypes must have at least
one subtype.
g. Explore the specialization and generalization hierarchies.
h. Finally, explain the use of entity clusters as an alternative method to simplify crowded
data models.
The second part of the discussion covers the importance of proper primary key selection.
a. Start by clearly stating the function of a PK — identification — and how that function
differs from the descriptive nature of the other attributes in an entity. Explain the use of
PKs to uniquely identify each entity instance.
b. Discuss natural keys, primary keys, and surrogate keys.
c. Examine the primary key guidelines that specify the PK characteristics. PKs must be
unique, non-intelligent, they do not change over time, they are ideally composed of a
single attribute, they are numeric, and they are security compliant.
d. Finally, contrast the use of surrogate and composite primary keys. Remind students that
composite primary keys are useful in composite entities where each primary key
combination is allowed only once in the M:N relationship.
The third part of the discussion covers four special design cases:
a. Implementing 1:1 relationships.
b. Maintaining the history of time-variant data.
c. Fan traps.
d. Redundant relationships.