Skip to Content
Database Design and Relational Theory
book

Database Design and Relational Theory

by C.J. Date
April 2012
Intermediate to advanced
274 pages
8h 55m
English
O'Reilly Media, Inc.
Content preview from Database Design and Relational Theory

Chapter 3. Normalization: Some Generalities

Normal: see abnormal

from an early IBM PL/I reference manual

In this chapter, I want to clarify certain general aspects of further normalization before we start getting into specifics (which we’ll do in the next chapter). I’ll begin by taking a closer look at the sample value of relvar S from Figure 1-1 (repeated for convenience in Figure 3-1 below).

The suppliers relvar—sample value

Figure 3-1. The suppliers relvar—sample value

Recall now that the functional dependency (FD)

     { CITY } → { STATUS }

holds in this relvar (I’ve included an arrow in the figure to suggest this fact). Because that FD holds,[21] it turns out that the relvar is in second normal form (2NF) but not third (3NF). As a consequence, the relvar suffers from redundancy; to be specific, the fact that a given city has a given status appears many times, in general. And the discipline of further normalization—which from this point on I’ll abbreviate most of the time to just normalization, unqualified—would therefore suggest that we decompose the relvar into two relvars SNC and CT of lesser degree, as indicated in Figure 3-2 (which shows, of course, values for those relvars corresponding to the sample value shown for relvar S in Figure 3-1).

Relvars SNC and CT—sample values

Figure 3-2. Relvars SNC and CT—sample values

Points arising from this example: ...

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

Database Design for Mere Mortals™: A Hands-On Guide to Relational Database Design, Second Edition

Database Design for Mere Mortals™: A Hands-On Guide to Relational Database Design, Second Edition

Michael J. Hernandez

Publisher Resources

ISBN: 9781449330187Errata Page