database normalization

Posted on 2006-06-24
Last Modified: 2008-01-09
I don't have a formal background in relational theory and I'm trying to get a better understanding of normalization.  I'm trying to find examples and more information on 1nf - 3nf, which seems to be appropriate for many smaller applications.  I want to get a good handle on these.

1NF - Eliminate Repeating Groups - Make a separate table for each set of related attributes, and give each table a primary key.

2NF - Eliminate Redundant Data - If an attribute depends on only part of a multi-valued key, remove it to a separate table.

3NF - Eliminate Columns Not Dependent On Key - If attributes do not contribute to a description of the key, remove them to a separate table.

Can anyone point me to some good resources.
Question by:-Dman100-
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
  • +3

Assisted Solution

dwhite365 earned 100 total points
ID: 16976897
OReilly SQL In a Nutshell has a short section covering normalization requirements that takes care of the practical aspects of it.

Author Comment

ID: 16976907
anything online?  Examples?
LVL 26

Expert Comment

ID: 16976985
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

LVL 26

Assisted Solution

DireOrbAnt earned 100 total points
ID: 16977013
The wiki entry is quite nice, but you can scroll to the bottom and go to the "Further reading" and "External links" sections.

As for what you should apply to your project, the best answer I can give you is to try to understand all normal forms (there are more than 3), maybe excluding 6 ;) and to apply as much of them as possible. In a very small project, that won't get tons of hits/data and won't extend into a bigger apps, you can ignore most and get you projejct out though :)

Hope you find what you are looking for in there.
LVL 16

Expert Comment

ID: 16977361
LVL 16

Assisted Solution

MohanKNair earned 100 total points
ID: 16977365

Expert Comment

ID: 16978512
Are you looking to find out how to do it, why to do it, how do it for some specific example you have?

Doing it just to do it is fine for a classroom and fine for many real life examples, but there are valuable reasons to not do it too, depending on what your application is, how often data is updated, etc.

Theory is just theory and real life sometimes trumps theory.

Author Comment

ID: 16979311
Thanks for the information.

No, this isn't for a classroom.  I work as a web developer and have been using SQL Server now for about 3 years.  Typically, most of my development has been data extraction, updates, inserts, deletions, etc.  I haven't done too much with actual modeling and design.  Albeit, I have done some design.

I'm getting more involved in the actual design and trying to expand my knowledge base on normalization and relational theory to help me be more effective in my development.

So, how to do it and why to do it certainly applies in my case.  I'm not completely in the dark to fundamental normalization concepts.

Does that help explain?

Accepted Solution

david_levine earned 100 total points
ID: 16979362
Based on your past experience using SQL, you're likely well prepared for determining the application impact your design will cause. What needs to be done for a transactional application could be the same or very different from a design for a data warehouse application.

How the data will be used initially and built on over time helps determine the optimal plan of attack in designing a database.

I'm sure you already know, if the folks designing the tables you've been using are doing a good job, that most data elements reside in only 1 table with the keys of the records referenced in other tables. Lookup tables are typical in many applications and the keys to those records are stored in the other tables.

If you're looking for online references, a Google search for: practical database design
seems to turn up a lot of relevant links.

If you're looking for printed material, an Amazon book search on the same keywords turns up a bunch of what looks like pretty on topic references to learn or refer to:

Assisted Solution

gabeso earned 100 total points
ID: 16979841
C J Date is a good writer on issues regarding relational databases see his books for an in-depth understanding of the relational model - as opposed to a vendor specific implementation of it (which of course all vendors support to various degrees of over-kill!)

If you are interested in understanding it you should investigate the concept of 'functional dependency' - which is the concept which underlies all of the normal forms.

A functional dependency is essentially a functional relationship between one value and another:

f(x) = y. If one x determines one y then you have a functional dependency between them - if one x determines many y's then you have a multivalued dependency between them.

If you start to analyze your information into "this determines that" so that you can follow a logical chain between one value and another you will have your information in a normal form i.e. it will be correct.

Tables just become dependencies collected together appropriately according to requirements of storage perhaps or other factors in your design.


Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
As technology users and professionals, we’re always learning. Our universal interest in advancing our knowledge of the trade is unmatched by most industries. It’s a curiosity that makes sense, given the climate of change. Within that, there lies a…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question