Re: Normalization is always good?

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: jkakar(at)expressus(dot)com
Cc: sqllist <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Normalization is always good?
Date: 2001-03-15 20:13:26
Message-ID: 3AB12266.CC2C9FA3@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Jamu,

> I have been working with SQL databases for about a year in a half and
> in that time I've come to the conclusion that it is not always
> preferable to normalize to a high level (like 3rd level). In some
> cases, depending on the application, I've found that normalizing to a
> ridiculous degree has shot me in the foot in terms of the
> responsibility of my code to manage what happens in the database.

There I'd agree with you ... there is the question of *how rigorous* you
want your normalization to be. I tend to hover around the simplest
normal form, most of the time. And I do a few things (such as
polymorhic sub-tables) that would give Fabian Pascal fits :-)

However, there is (in my mind) no question as to whether a database
should be normalized, just how much effort is spent on normalization as
opposed to other considerations (UI, performance, development time).

> I've found referential integrity makes normalization a less expensive
> notion as it absolves you of the task of keeping data current in all
> your tables. I've also found that working in an object oriented
> language makes normalization less expensive.

What do you use? I've given up on OODB interfaces, myself, as I did not
find them helpful, but that's modtly because I was working in MS-land.

> What are the views of the people on this list re: Normalization
> Guidelines? Anybody know of any good web sites that talk about this
> in depth?

Yup. http://www.databasedebunking.com/ Dig through the archives.

-Josh Berkus

--
______AGLIO DATABASE SOLUTIONS___________________________
Josh Berkus
Complete information technology josh(at)agliodbs(dot)com
and data management solutions (415) 565-7293
for law firms, small businesses fax 621-2533
and non-profit organizations. San Francisco

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2001-03-15 20:21:23 Re: VACUUM kills Index Scans ?!
Previous Message Gerald Gutierrez 2001-03-15 20:03:51 Re: VACUUM kills Index Scans ?!