pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Sullivan <ajs@crankycanuck.ca>
To: pgsql-sql@postgresql.org
Subject: Re: Database normalization
Date: Tue, 28 Aug 2007 11:19:08 -0400
Message-ID: <20070828151908.GA979@phlogiston.dyndns.org> (raw)
In-Reply-To: <99b656cb0708280815w141e715bhed5542317d709a17@mail.gmail.com>
References: <99b656cb0708210709j5182b73cna63a2d275efa0e84@mail.gmail.com>
	<99b656cb0708280447x4eb7c45axec01c8d0ebc6c82d@mail.gmail.com>
	<20070828132604.GB461@phlogiston.dyndns.org>
	<99b656cb0708280737l3d50585fifcfef7103b26059b@mail.gmail.com>
	<20070828145902.GB847@phlogiston.dyndns.org>
	<99b656cb0708280815w141e715bhed5542317d709a17@mail.gmail.com>

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



view thread (11+ messages)  latest in thread

Message-ID: <20070828151908.GA979@phlogiston.dyndns.org>
Permalink:  ../20070828151908.GA979@phlogiston.dyndns.org/
Also on:    postgresql.org/message-id/20070828151908.GA979@phlogiston.dyndns.org

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: ajs@crankycanuck.ca
  Subject: Re: Database normalization
  In-Reply-To: <20070828151908.GA979@phlogiston.dyndns.org>

* 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