pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: D'Arcy J.M. Cain <darcy@druid.net>
Cc: Keith Bottner <kbottner@comcast.net>
Cc: pgsql-performance@postgresql.org
Subject: Re: What's faster?
Date: Sat, 27 Dec 2003 13:30:38 -0500
Message-ID: <12771.1072549838@sss.pgh.pa.us> (raw)
In-Reply-To: <200312270552.07823.darcy@druid.net>
References: <008301c3cc0d$f3f337b0$7d00a8c0@juxtapose>
	<200312270552.07823.darcy@druid.net>

"D'Arcy J.M. Cain" <darcy@druid.net> 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



view thread (6+ messages)

Message-ID: <12771.1072549838@sss.pgh.pa.us>
Permalink:  ../12771.1072549838@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/12771.1072549838@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, darcy@druid.net, kbottner@comcast.net
  Subject: Re: What's faster?
  In-Reply-To: <12771.1072549838@sss.pgh.pa.us>

* 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