- •Contents
- •Data Modeling Concepts
- •Benefits of Data Modeling
- •Methods
- •Typographical Conventions
- •Introduction
- •Data Modeling
- •Data Modeling Sessions
- •Session Roles
- •Sample IDEF1X Modeling Methodology
- •Modeling Architecture
- •Logical Models
- •Entity Relationship Diagram
- •Key-Based Model
- •Fully-Attributed Model
- •Physical Models
- •Transformation Model
- •DBMS Model
- •How to Construct a Logical Model
- •Entity Relationship Diagram
- •Entities and Attributes Defined
- •Logical Relationships
- •Many-to-Many Relationships
- •Logical Model Design Validation
- •Data Model Example
- •Key-Based Data Model
- •Key Types
- •Entity and Non-Key Areas
- •Primary Key Selection
- •Alternate Key Attributes
- •Inversion Entry Attributes
- •Relationships and Foreign Key Attributes
- •Dependent and Independent Entities
- •Identifying Relationships
- •Non-Identifying Relationships
- •Rolenames
- •Overview
- •Entity and Attribute Names
- •Synonyms, Homonyms, and Aliases
- •Entity Definitions
- •Descriptions
- •Business Examples
- •Comments
- •Definition References and Circularity
- •Business Glossary Construction
- •Attribute Definitions
- •Validation Rules
- •Rolenames
- •Definitions and Business Rules
- •Relationships
- •Relationship Cardinality
- •Cardinality in Non-Identifying Relationships
- •Referential Integrity
- •Referential Integrity Options
- •RI, Cardinality, and Identifying Relationships
- •RI, Cardinality, and Non-Identifying Relationships
- •Additional Relationship Types
- •Many-to-Many Relationships
- •N-ary Relationships
- •Recursive Relationships
- •Subtype Relationships
- •Complete Compared to Incomplete Subtype Structures
- •Inclusive and Exclusive Relationships
- •IDEF1X and IE Subtype Notation
- •When to Create a Subtype Relationship
- •Normalization
- •Overview of the Normal Forms
- •Common Design Problems
- •Repeating Data Groups
- •Multiple Use of the Same Attribute
- •Multiple Occurrences of the Same Fact
- •Conflicting Facts
- •Derived Attributes
- •Missing Information
- •Unification
- •How Much Normalization Is Enough
- •Support for Normalization
- •First Normal Form Support
- •Second and Third Normal Form Support
- •Objective
- •Support for the Roles of the Physical Model
- •Summary of Logical and Physical Model Components
- •Denormalization
- •Classification of Dependent Entities
- •Glossary
- •Index
Index
A
alias, entity names • 38 alternate key • 30 associative entity • 56
definition of • 89 attribute
avoiding multiple occurrences • 73 avoiding multiple usages • 71
avoiding synonyms and homonyms • 38 definition • 42
definition of • 20
definition using business terms • 41 derived • 76
in an ERD • 20 name • 37 rolename • 35
specifying a domain of values • 42 specifying a rolename • 43 validation rule in definition • 42
B
base attribute, definition of • 43 binary relationship, definition of • 58 business
glossary creating • 41 rule
capturing in a definition • 44 term
organizing • 41
C
CA ERwin DM
diagram components • 20 model advantages • 9
candidate key, definition of • 28 cardinality
definition • 48
in identifying relationships • 48
in non-identifying relationships • 50 notation in IDEF1X and IE • 48
cascade
definition of • 51 example • 54
characteristic entity, definition of • 89 child entity • 22
complete subtype relationships • 64 components, in an ERD • 20
D
data analyst, role of • 14 data modeler, role of • 14 data modeling
assertion examples • 25 benefits • 9, 11 definition of • 11 methodologies • 11 role of data analyst • 14
role of data modeler • 14 role of facilitator • 14
role of subject matter expert • 14 role of the manager • 14
sample IDEF1X methodology • 15 sessions • 13
use of verb phrases • 24 definition
attribute • 42
capturing business rules • 44 entity • 39
rolename • 43 denormalization
in the physical model • 87 dependency
existence • 32 identification • 32
dependent entity • 32 types of • 89
derived attribute definition of • 76 when to use • 76
designative entity, definition of • 89 discriminator, in subtype relationships • 62 domain, specifying valid attribute values • 42
E
entity
assigning a definition • 39 associative • 56, 89
avoiding circular definitions • 41
Index 95
avoiding synonyms and homonyms • 38 characteristic • 89
child • 22
definition conventions • 39 definition description • 40 definition of • 20
definition using business terms • 41 dependent • 32
designative • 89 in an ERD • 20 independent • 32 name • 37 parent • 22 subtype • 62, 89 supertype • 62
entity relationship diagram creating • 20 definition of • 17 objective • 19 overview • 19
sample • 20 subject areas • 19
ERD • 16
exclusive subtype relationships • 65 existence dependency • 32
F
facilitator, role of • 14 first normal form • 69, 71 foreign key
assigning referential integrity • 51 unification • 43
foreign key attribute, rolename • 35 fully-attributed model • 15
definition of • 17
G
generalization
definition of category • 62 definition of hierarchy • 62
I
IDEF1X, origin of • 9 identification dependency • 32 identifying relationship • 33
cardinality • 48 IE, origin of • 9
inclusive subtype relationships • 65
incomplete subtype relationships • 64 independent entity • 32
inheritance hierarchy, definition of • 62 instance, definition of • 20
inversion entry • 31
K
key
alternate key • 30 inversion entry • 31 primary • 28
selection example • 28 surrogate • 28
key attributes • 28 key-based model
definition of • 17, 27 objective • 27
L
logical model, definition of • 16 logical only property • 87
M
manager, role of • 14 many-to-many • 23, 56 eliminating • 56 migrating, rolename • 35
N
naming attributes • 37 entities • 37
n-ary relationship • 56 definition of • 58
non-identifying relationship • 34 cardinality • 50
non-key attribute • 28 normal forms
summary of six forms • 68 normalization
avoiding design problems • 69, 71, 73, 74, 76 CA ERwin DM support • 82
completing • 80
denormalizing in the physical model • 87 first normal form • 69, 71
second normal form • 73 third normal form • 74, 76
96 Methods Guide
O
one-to-many • 22
P
parent entity • 22 physical model
creating • 85 definition • 17
physical only property • 87 primary key • 28
choosing • 28
R
recursive relationship • 56 definition of • 60 referential integrity • 51
cascade • 51 definition of • 51 example • 54, 55
notation in a CA ERwin DM diagram • 52 restrict • 51
set default • 51 set null • 51
relationship
and dependent entities • 32 and independent entities • 32 complete subtype • 64 definition of • 22
enforcing cardinality • 48 exclusive subtype • 65 identifying • 33
in an ERD • 20 inclusive subtype • 65
incomplete subtype • 64 mandatory and optional • 50 many-to-many • 23, 56 n-ary • 56, 58 non-identifying • 34 one-to-many • 22
reading from child to parent • 24 reading from parent to child • 24 recursive • 56, 60
referential integrity • 51 subtype • 56
subtype (category) • 62 subtype notation • 65 verb phrase • 22
repeating data groups • 69 restrict
definition of • 51 example • 54
rolename
assigning a definition • 43 definition • 35
migrating • 35
S
second normal form • 73 session
planning • 13 roles • 14
set default, definition of • 51 set null
definition of • 51 example • 55
subject matter expert, role of • 14 subtype entity, definition of • 89 subtype relationship • 56
complete • 64 creating • 66 definition • 62 discriminator • 62 exclusive • 65 inclusive • 65 incomplete • 64 notation • 65 supertypes • 62
supertypes • 62
surrogate key, assigning • 28
T
third normal form • 74, 76 fully-attributed model • 17 key-based model • 17
transformation model • 15 creating • 85 definition of • 18
U
unification
avoiding normalization problems • 79 foreign key rolenaming • 43
V
validation rule, in attribute definitions • 42
Index 97
verb phrase • 22 example • 22
in a data model • 24
98 Methods Guide
