If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Database Concepts & Design > Normalization & ER Modelling

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-11-04, 03:45
PeterParkett PeterParkett is offline
Registered User
 
Join Date: Jun 2004
Posts: 3
Smile Normalization & ER Modelling

Dear Friends,

Hello and best regards. I’m Peter Parkett and I have a question.

If we are given a case study regarding a company and told to use two different methods to obtain the relational model, will the relational model obtained from two different methods be the same. The first method is normalization. We are to obtain the relational model through normalization. In the second method, ER modelling is used to obtain the relational model. Please enlighten me as to whether the relational model obtained from these two models will be the same and also the reasons it is the same.

Kind thoughts,
Peter Parkett
Reply With Quote
  #2 (permalink)  
Old 06-11-04, 07:20
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,524
normalization doesn't work unless you have some relations to start with, and where are you supposed to have got them from?

ER builds relations, and properly done, always includes normalization

this is another one of those tricky questions to see if you have been awake during class this semester
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #3 (permalink)  
Old 06-12-04, 04:09
PeterParkett PeterParkett is offline
Registered User
 
Join Date: Jun 2004
Posts: 3
Smile Relational Models

Dear Friends,

First of all, thank you Rudy for your post.

I have a case study regarding a company. Now from this case study, I am able to build an Enhanced Entity Relationship Diagram. I am able to build this diagram by identifying the entities, attributes, relationships and cardinality present in the Company case study and representing it in the Enhanced ER diagram. Now, from this diagram, I am able to obtain the relational models for the Company. This is just a matter of transferring the Enhanced ER diagram to relational models.

Let’s say I don’t use an ER diagram. So, from the Company case study, I will just identify all attributes present. After I have identified all the attributes, I would have obtained the unnormalized form(UNF) of the Company. From this UNF, it is possible to obtain the Boyce-Codd Normal Form(BCNF) of the company. After I have obtained the BCNF for Company, I would have obtained the relational models for Company.

My question is, are the relational models obtained from using Enhanced ER diagram and the relational models obtained from using Normalization the same? I personally believe that they should be the same. What are the reasons that the relational models obtained should be the same?

I welcome all feedback. I am just trying to figure this one out. Thanks for all help.

Kind thoughts,
Peter Parkett
Reply With Quote
  #4 (permalink)  
Old 06-12-04, 10:58
andrewst andrewst is offline
Moderator.
 
Join Date: Sep 2002
Location: UK
Posts: 5,171
Yes, they should be the same. Both approaches are working towards the same goal: a set of entities and attributes that models the data without redundancy or "repeating groups". Normalisation formalises the common sense process that you would (hopefully) follow even if you didn't know the rules of normalisation.

In response to Rudy's question, I can remember being taught normalisation as an approach to finding entities (relations). You start with some document like an invoice, and write down a list of every data item you can find on it. Then you separate out repeating groups, non-key dependencies etc., into separate lists. When you are finished, you have a set of normalised entities. Quite likely I even followed that process for real in my early days as an analyst, though I wouldn't do so now.
__________________
Tony Andrews
http://tinyurl.com/tonyandrews
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On