- •Contents
- •Preface
- •Intended Audience
- •About this Guide
- •Typographical Conventions
- •Related Documentation
- •What’s In This Chapter?
- •Chapter Contents
- •What is Data Modeling?
- •Data Modeling Sessions
- •Session Roles
- •Sample IDEF1X Modeling Methodology
- •Logical Models
- •The Entity Relationship Diagram
- •The Key-Based Model
- •The Fully-Attributed (FA) Model
- •Physical Models
- •The Transformation Model
- •The DBMS Model
- •Benefits of Modeling in ERwin
- •What’s In This Chapter?
- •Chapter Contents
- •The Entity-Relationship Diagram
- •Defining Entities and Attributes
- •Logical Relationships
- •Many-to-Many Relationships
- •Validating the Design of the Logical Model
- •Data Model Example
- •What’s In This Chapter?
- •Chapter Contents
- •Understanding Keys
- •Selecting a Primary Key
- •Designating Alternate Key Attributes
- •Inversion Entry Attributes
- •Relationships and Foreign Key Attributes
- •Dependent and Independent Entities
- •Identifying Relationships
- •Non-Identifying Relationships
- •Rolenames
- •What’s In This Chapter?
- •Chapter Contents
- •Naming Entities and Attributes
- •Synonyms, Homonyms and Aliases
- •Entity Definitions
- •Descriptions
- •Business Examples
- •Comments
- •Definition References and Circularity
- •Constructing a Business Glossary
- •Attribute Definitions
- •Rolenames
- •Definitions and Business Rules
- •What’s In This Chapter?
- •Chapter Contents
- •Relationship Cardinality
- •Cardinality in Non-Identifying Relationships
- •Referential Integrity
- •Reading 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 Versus Incomplete Subtype Structures
- •Inclusive and Exclusive Relationships
- •IDEF1X and IE Subtype Notation
- •When to Create a Subtype Relationship
- •Introduction
- •Chapter Contents
- •Overview of the Normal Forms
- •Functional Dependence (FD)
- •Full Functional Dependence
- •First Normal Form (1NF)
- •Second Normal Form (2NF)
- •Third Normal Form (3NF)
- •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?
- •Conclusions
- •ERwin Support for Normalization
- •First Normal Form Support
- •Second and Third Normal Form Support
- •What’s In This Chapter?
- •Chapter Contents
- •Creating a Physical Model
- •Denormalization
- •Classification of Dependent Entities
- •Glossary of Terms
- •Index
- •Documentation Comments Form
ERwin
Methods Guide
© 1997 by Logic Works, Inc.
ERwin Version 3.0
Methods Guide
Logic Works, Inc.
University Square at Princeton
111 Campus Drive
Princeton, NJ 08540
This product is subject to the license agreement and limited warranty enclosed in the product package. The product software may be used or copied only in accordance with the terms of this agreement. Please read the license agreement carefully before opening the package containing the program media. By opening the media package, you accept these terms. If you do not accept or agree to these terms, you may promptly return the product with the media package still sealed for a full refund.
Information in this document is subject to change without notice. No part of this manual may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying and recording, for any purpose without the express written permission of Logic Works.
logic works®
© Copyright 1989-1997 Logic Works, Inc. All rights reserved.
Printed in the United States of America.
Logic Works, ERwin and BPwin are U.S. registered trademarks of Logic Works, Inc. ModelMart, DataBOT, TESTBytes, ModelBlades, RPTwin and Logic Works with logo are trademarks of Logic Works, Inc. All other brand and product names are trademarks or registered trademarks of their respective owners.
ERwin Methods Guide
Contents
Preface |
iii |
Intended Audience ................................................................................................ |
iv |
About this Guide ................................................................................................... |
iv |
Typographical Conventions................................................................................... |
v |
Related Documentation.......................................................................................... |
v |
Information Systems, Databases, and Models |
9 |
What’s In This Chapter?......................................................................................... |
9 |
What is Data Modeling?....................................................................................... |
10 |
Data Modeling Sessions ....................................................................................... |
12 |
Sample IDEF1X Modeling Methodology............................................................ |
14 |
Logical Models...................................................................................................... |
16 |
Physical Models .................................................................................................... |
17 |
Benefits of Modeling in ERwin............................................................................ |
18 |
Constructing a Logical Model |
19 |
What’s In This Chapter?....................................................................................... |
19 |
The Entity-Relationship Diagram........................................................................ |
20 |
Validating the Design of the Logical Model....................................................... |
24 |
Data Model Example............................................................................................ |
25 |
The Key-Based Model |
27 |
What’s In This Chapter?....................................................................................... |
27 |
Understanding Keys............................................................................................. |
28 |
Relationships and Foreign Key Attributes.......................................................... |
32 |
Rolenames ............................................................................................................. |
36 |
Naming and Defining Entities and Attributes |
37 |
What’s In This Chapter?....................................................................................... |
37 |
Naming Entities and Attributes .......................................................................... |
38 |
Entity Definitions.................................................................................................. |
40 |
Attribute Definitions ............................................................................................ |
43 |
Rolenames ............................................................................................................. |
44 |
Contents ∙ i
ERwin Methods Guide |
|
Definitions and Business Rules ............................................................................ |
46 |
Refining Model Relationships |
47 |
What’s In This Chapter? ....................................................................................... |
47 |
Relationship Cardinality ....................................................................................... |
48 |
Referential Integrity............................................................................................... |
51 |
Additional Relationship Types............................................................................. |
56 |
Many-to-Many Relationships ............................................................................... |
57 |
N-ary Relationships............................................................................................... |
60 |
Recursive Relationships ........................................................................................ |
62 |
Subtype Relationships........................................................................................... |
64 |
Normalization |
71 |
Introduction ........................................................................................................... |
71 |
Overview of the Normal Forms ........................................................................... |
72 |
Common Design Problems................................................................................... |
73 |
Unification.............................................................................................................. |
84 |
How Much Normalization Is Enough?................................................................ |
86 |
ERwin Support for Normalization....................................................................... |
88 |
Creating a Physical Model |
91 |
What’s In This Chapter? ....................................................................................... |
91 |
Creating a Physical Model.................................................................................... |
92 |
Denormalization .................................................................................................... |
93 |
Dependent Entity Types |
95 |
Classification of Dependent Entities.................................................................... |
95 |
Glossary of Terms |
97 |
Index |
101 |
ii ∙ Contents