X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 7D7119DC84A for ; Tue, 21 Mar 2006 10:12:06 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 80748-05 for ; Tue, 21 Mar 2006 10:12:10 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.198]) by postgresql.org (Postfix) with ESMTP id 758D79DC9E5 for ; Tue, 21 Mar 2006 10:12:04 -0400 (AST) Received: by wproxy.gmail.com with SMTP id i14so115390wra for ; Tue, 21 Mar 2006 06:12:08 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Zgmnz6KoGjw2L5/5Q0Zj52qugIya0xa+fJ5snUD2P+di64MBYSNDupIxaofrNFHHkwHdfNZMXWQPv+ommICgCvXdQnCq2wQ8I5+9t4Yqv527i2xgbfWlT3mY0caug8KTjUlr4RO/YoL5nk3rdhcKBxHo9DtJO+wQUKatyg51Ldk= Received: by 10.65.75.18 with SMTP id c18mr1384295qbl; Tue, 21 Mar 2006 06:12:08 -0800 (PST) Received: by 10.65.135.6 with HTTP; Tue, 21 Mar 2006 06:12:08 -0800 (PST) Message-ID: Date: Tue, 21 Mar 2006 09:12:08 -0500 From: "Merlin Moncure" To: "Jim C. Nasby" Subject: Re: update == delete + insert? Cc: "Jaime Casanova" , "Craig A. James" , pgsql-performance@postgresql.org In-Reply-To: <20060321112348.GE15742@pervasive.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <7F10D26ECFA1FB458B89C5B4B0D72C2B088286@sesrv12.wirelesscar.com> <441EC652.1010807@modgraph-usa.com> <441F3187.90506@modgraph-usa.com> <20060321112348.GE15742@pervasive.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.133 required=5 tests=[AWL=0.133] X-Spam-Score: 0.133 X-Spam-Level: X-Archive-Number: 200603/404 X-Sequence-Number: 17841 > > 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. merlin