Re: What's faster? - Mailing list pgsql-performance

From Tom Lane
Subject Re: What's faster?
Date
Msg-id 12771.1072549838@sss.pgh.pa.us
Whole thread Raw
In response to Re: What's faster?  ("D'Arcy J.M. Cain" <darcy@druid.net>)
List pgsql-performance
"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

pgsql-performance by date:

Previous
From: "D'Arcy J.M. Cain"
Date:
Subject: Re: What's faster?
Next
From: Sean Shanny
Date:
Subject: Question about difference in performance of 2 queries on large table