This page will discuss the different areas of normalization for a database. Traditional databases are organized by fields, records, and tables. A field is a single piece of information; a record is one complete set of fields, and a table is a collection of records. For example, a telephone book is analogous to a file. It contains a list of records, each of which consists of three fields: name, address and telephone numbers. Database normalization is the process of effeciently organizing data in a database. There are two goals of the normalization process; #1: Eliminate Redundant Data (Example: storing the same data in more than one table) and #2: Ensure Data Dependencies make sense ( Only storing related data in the correct place). Both of these are worthy goals as they reduce the amount of space consumed by the database and ensure that the data is logically stored. Normalization Ranking The database community has developed a series of guidelines for ensuring normalization. These are referred to as "Normal Forms" and are numbered from 1 (first normal form or 1NF) through to 5 (fifth normal form or 5NF). In practical applications, you will often see 3NF along with the occasional 4NF. The fifth normal form is very rarely seen. Below will be the definitions of the different normal form levels. 1st Normal Form (1NF) The level sets the very basic rules for an organized database and is the lowest form of normalization. Guideline(s):
2nd Normal Form (2NF) This level further focuses on the concepts of removing duplicative data from the system. Guideline(s):
3rd Normal Form (3NF) This form goes on large step further. Guideline(s):
This form has one additional requirement Guideline(s):
NOTE: It is important to point out that these are guidelines only. Occasionally, it becomes necessary to stray from them to meet business requirements. When variations take place, it's extremely important to evaluate any possible problems that could occur to your system and account for possible inconsistencies. |