Re: Database normalization

From: Andrew Sullivan <ajs(at)crankycanuck(dot)ca>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: Database normalization
Date: 2007-08-28 15:19:08
Message-ID: 20070828151908.GA979@phlogiston.dyndns.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Tue, Aug 28, 2007 at 04:15:01PM +0100, Sebastian Ritter wrote:
> > I'd put it in its own table, probably, unless you're going to use it
> > frequently.
>
> Why would frequency of use change whether or not I use one or two tables?

If you have a possibly-large field that does not get used very much,
you have to pay the I/O for it every time you look at that row, even
if it's not used. Also, it sounds like it might not be used by every
row? In that case, normalization calls for it to be pushed out too.

A

--
Andrew Sullivan | ajs(at)crankycanuck(dot)ca
However important originality may be in some fields, restraint and
adherence to procedure emerge as the more significant virtues in a
great many others. --Alain de Botton

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Sebastian Ritter 2007-08-28 15:35:29 Re: Database normalization
Previous Message Sebastian Ritter 2007-08-28 15:15:01 Re: Database normalization