Skip to Content
The Data Model Resource Book, Volume 3: Universal Patterns for Data Modeling
book

The Data Model Resource Book, Volume 3: Universal Patterns for Data Modeling

by Paul Agnew, Len Silverston
January 2009
Beginner to intermediate
641 pages
26h 48m
English
Wiley
Content preview from The Data Model Resource Book, Volume 3: Universal Patterns for Data Modeling
Silverston c09.tex V2 - 11/21/2008 3:16am Page 482
482 Chapter 9 Using the Patterns
What Are the Weaknesses of Using Patterns
for the Solution?
The weaknesses of applying patterns for requirements gathering and proto-
typing are as follows:
Using level 1 patterns does not generally provide a good basis for
implementations. Granted, in some very specific circumstances where
a set of data is very static and the values are not generally reused, you
may use a level 1 pattern solution for an implementation, but these situ-
ations are very rare indeed. Also, if level 1 patterns are implemented in
a database design, they would often cause redundant data. The level 1
patterns often include many attributes that are not normalized (that is,
they don’t follow 1
st
,2
nd
,or3
rd
normal form). For example, if you used
the Level 1 Classification Pattern to implement a customer size field
where the values are ‘‘Large,’’ ’’Medium,’’ and ‘‘Small,’’ this would lead
to many instances that redundantly had the value ‘‘Large,’’ as opposed
to having a foreign key that pointed to a CUSTOMER SIZE table, which
is how it would be modeled using the Level 2 Classification Pattern.
When level 2 patterns are used instead of Level 1 Patterns, you lose
some specific understanding. For example, we created STATUS TYPE
and CUSTOMER STATUS in Figure 9-2 to replace active from date and
active thru date that were attributes of CUSTOMER in Figure ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

The Data Model Resource Book, Vol. 2: A Library of Data Models for Specific Industries

The Data Model Resource Book, Vol. 2: A Library of Data Models for Specific Industries

Len Silverston
The Data Model Resource Book, Volume 1

The Data Model Resource Book, Volume 1

Len Silverston, Graeme Simsion
Data Model Patterns

Data Model Patterns

David C. Hay, Richard Barker

Publisher Resources

ISBN: 9780470178454Other