pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: jkakar@expressus.com
To: Josh Berkus <josh@agliodbs.com>
Cc: sqllist <pgsql-sql@postgresql.org>
Subject: Re: Normalization is always good?
Date: Thu, 15 Mar 2001 15:28:19 -0800
Message-ID: <20010315152819.B18169@expressus.com> (raw)
In-Reply-To: <3AB12266.CC2C9FA3@agliodbs.com>
References: <20010314212627.H12986@mail.perdue.net>
	<web-25229@davinci.ethosmedia.com>
	<20010315114619.A18169@expressus.com>
	<3AB12266.CC2C9FA3@agliodbs.com>

Hi Josh,

> normal form, most of the time.  And I do a few things (such as
> polymorhic sub-tables) that would give Fabian Pascal fits :-)

Polymorphic sub-tables? =) Do you mean using, for example, one user
table that stores different types of users and has some fields
specific to only some kinds of users and other fields that are shared
by all users?

> 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 agree.  Anyone here familiar with "Extreme Programming"?- they
suggest that you should architect your software only for the
functionality you need NOW.  While some aspects of extreme progrmming
have proven themselves true in the face of my skepticism I see it as
my moral obligation as programmer to write programs that are A) as
portable as possible and B) extensible.  With that in mind, I like
normalization because it increases the likelihood of scalability being
relatively painless.

> 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.

I've been working in Java with JDBC... I've actually shot myself in
the foot a bit by not making my application object oriented enough.
In hindsight, and if time permitted more refactoring, I would have
written custom data objects to manage all interactions with the
database so that any management of data happened in one and only one
place and anything that needed to access those objects would do so
through the common interface.

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

Couldn't find the server... I wonder if it's still there.

Regards,
Jamu.

-- 
Jamu Kakar (Developer)			Expressus Design Studio, Inc.
jkakar@expressus.com			708-1641 Lonsdale Avenue
V: (604) 903-6994			North Vancouver, BC, V7M 2J5



view thread (4+ messages)  latest in thread

Message-ID: <20010315152819.B18169@expressus.com>
Permalink:  ../20010315152819.B18169@expressus.com/
Also on:    postgresql.org/message-id/20010315152819.B18169@expressus.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: jkakar@expressus.com, josh@agliodbs.com
  Subject: Re: Normalization is always good?
  In-Reply-To: <20010315152819.B18169@expressus.com>
  References: <20010314212627.H12986@mail.perdue.net> <web-25229@davinci.ethosmedia.com> <20010315114619.A18169@expressus.com> <3AB12266.CC2C9FA3@agliodbs.com> <20010315152819.B18169@expressus.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox