Professional Documents
Culture Documents
Support
Support
Database Normalization
This article/tutorial will explain what database normalization is, why you need it and how to
normalize a data model. We will use a simple example to explain the normalization rules.
Normalization of a data model consists of several steps. These steps are called normalization
rules. Each rule is referred to as a normal form (1NF, 2NF, 3NF). The first three forms are the
most important ones. There are more than 3 normal forms but those forms are rarely used and
can be ignored without resulting in a non flexible data model. Each normal form constrains the
data more than the previous normal form. This means that you must first achieve the first normal
form (1NF) in order to be able to achieve the second normal form (2NF). You must achieve the
second normal form before you can achieve the third normal form (3NF).
Not normalized (0NF) table/entity in a data model.
Entities may only consist of two dimensions. A Customer has multiple Contacts (contact1,
contact2,...). This is why we must create a new entity for the contacts. A data model containing
attributes with names like contact1, contact2 etc, is a bad database design. Repeating attributes
make your data less flexible and make it difficult to search for data.
Customers.
Contacts.
In our example, the key is CustID + ContactID. If we remove the ContactID attribute we ensure
that all attributes in the Customer entity depend on the new primary key CustID. We create a
new entity CustomerContact for the relationship between Customer and Contact.
Customers.
CustomerContacts.
Contacts.
Customers.
CustomerContacts.
Contacts.
AccountManagers.
Resources
Learn
Build your next data model with DeZign for Databases trial software, available
for download directly from Datanamic's download section.
Need (realistic) test data for your new database? Try out our data generator.
Products
DeZign for Databases
Datanamic DataDiff
Datanamic SchemaDiff
Datanamic Data Generator
Datanamic Repository
Datanamic MultiRun
Purchase
Online Store
Support
Support Overview
Articles & Tutorials
Videos
Knowledge Base
Company
Contact Datanamic
About Us
Customers
News
Datanamic Solutions
Hooigracht 15
2312 KM Leiden
The Netherlands