X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id E3E4ED1B4B7 for ; Sat, 27 Dec 2003 18:31:31 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 71990-02 for ; Sat, 27 Dec 2003 14:30:42 -0400 (AST) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id 3AF4BD1B4E1 for ; Sat, 27 Dec 2003 14:30:41 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.10/8.12.10) with ESMTP id hBRIUd19012772; Sat, 27 Dec 2003 13:30:39 -0500 (EST) To: "D'Arcy J.M. Cain" Cc: "Keith Bottner" , pgsql-performance@postgresql.org Subject: Re: What's faster? In-reply-to: <200312270552.07823.darcy@druid.net> References: <008301c3cc0d$f3f337b0$7d00a8c0@juxtapose> <200312270552.07823.darcy@druid.net> Comments: In-reply-to "D'Arcy J.M. Cain" message dated "Sat, 27 Dec 2003 05:52:07 -0500" Date: Sat, 27 Dec 2003 13:30:38 -0500 Message-ID: <12771.1072549838@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200312/303 X-Sequence-Number: 5163 "D'Arcy J.M. Cain" writes: > We went through this recently. One thing we found that may apply to you is > how many fields in the client record have a foreign key constraint. We find > that tables with lots of FKeys are a lot more intensive on updates. BTW, this should have gotten better in 7.3.4 and later --- there is logic to skip checking an FKey reference if the referencing columns didn't change during the update. regards, tom lane