1

I am given a case study of Event Management to develop an entity-relationship diagram (ERD), and based on it check if the resulting relational schema meets the different normal forms. Now, I have developed my ERD based on the SRS that I have developed.

The question that I am having is: when I converted my ERD to the relational schema I got my tables already normalized. Because of the ERD I had nothing left to accomplish with respect to the normalization process, so I got confused.

Another question that arose in my mind is whether or not this is a desirable situation, I mean when I am getting my all the relations normalized from the ERD itself then why do I need to do normalization at all?

To put it differently, if we get the database already in 5NF from the ERD then why do we need to think of normalization?

  • 1
    Note "normalized" means in 1NF and "fully normalized" means in 5NF or 6NF. – onedaywhen Oct 19 '11 at 14:31
  • I talking about all kind of normalization. If we get the database already in 5NF from erd then why do we need to think of normalization ? – trapaank Oct 19 '11 at 14:53
6

If your tables are already in 5NF then you don't need to think much more about further normalization.

Note however that the principle of full normalization (POFN) is no panacea. There may remain non-obvious update anomalies.

Database constraints will need to be applied. In my experience, designers who start with an ER diagram are great at implementing primary keys and foreign keys but other constraints can be easily overlooked. Other design approaches may result in better constraints e.g. I have a little experience of object role modelling which seemed to work well.

Further normalization should only be considered in conjunction with constraints because 6NF often makes constraints more difficult to implement using today's industrial-strength technologies e.g. none support Standard SQL's CREATE ASSERTION nor CHECK constraints that may include a subquery.

Also consider the principle of orthogonal design (POOD).

  • 1
    I much prefer ORM to ER modelling because what you get is more complete. See LinkedIn group of you can linkedin.com/groups?gid=1743337&trk=hb_side_g – gbn Dec 9 '11 at 12:37
  • @gbn: My membership is now pending. Do you use ORM much? – onedaywhen Dec 9 '11 at 13:25
  • Not as much as I would like. Wrong role currently. I'm doing some in my spare time but I lack a practical "mission" – gbn Dec 9 '11 at 13:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.