pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jim C. Nasby <jnasby@pervasive.com>
To: Merlin Moncure <mmoncure@gmail.com>
Cc: Jaime Casanova <systemguards@gmail.com>
Cc: Craig A. James <cjames@modgraph-usa.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: update == delete + insert?
Date: Tue, 21 Mar 2006 11:38:13 -0600
Message-ID: <20060321173813.GE15742@pervasive.com> (raw)
In-Reply-To: <b42b73150603210612q65eebe9fu4c45698eddd75575@mail.gmail.com>
References: <7F10D26ECFA1FB458B89C5B4B0D72C2B088286@sesrv12.wirelesscar.com>
	<441EC652.1010807@modgraph-usa.com>
	<441F3187.90506@modgraph-usa.com>
	<c2d9e70e0603201738s6664b1fci1717188cce834a39@mail.gmail.com>
	<20060321112348.GE15742@pervasive.com>
	<b42b73150603210612q65eebe9fu4c45698eddd75575@mail.gmail.com>

On Tue, Mar 21, 2006 at 09:12:08AM -0500, Merlin Moncure wrote:
> > > design 1 is normalized and better
> > > design 2 is denormalized and a bad approach no matter the RDBMS
> >
> > How is design 1 denormalized?
> 
> It isn't :)...he said it is normalized.  Design 2 may or may not be
> de-normalized (IMO there is not enough information to make that
> determination) but as stated it's a good idea to split the table on
> practical grounds.

Err, sorry, got the number backwards. My point is that 2 isn't
denormalized afaik, at least not based just on the example. But yes, in
a case like this, vertical partitioning can make a lot of sense.
-- 
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461



view thread (7+ messages)

Message-ID: <20060321173813.GE15742@pervasive.com>
Permalink:  ../20060321173813.GE15742@pervasive.com/
Also on:    postgresql.org/message-id/20060321173813.GE15742@pervasive.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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: jnasby@pervasive.com, mmoncure@gmail.com, systemguards@gmail.com, cjames@modgraph-usa.com
  Subject: Re: update == delete + insert?
  In-Reply-To: <20060321173813.GE15742@pervasive.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