Re: Perfornamce Q - Mailing list pgsql-general

From Tom Lane
Subject Re: Perfornamce Q
Date
Msg-id 23381.1043299549@sss.pgh.pa.us
Whole thread Raw
In response to Perfornamce Q  (Jean-Christian Imbeault <jc@mega-bucks.co.jp>)
List pgsql-general
Jean-Christian Imbeault <jc@mega-bucks.co.jp> writes:
> Can anyone offering suggestions as to why the UPDATE takes so long and
> what I might do to make it go faster?

I think it's the foreign keys that are hurting you.  Are the referenced
columns indexed?  Are they of the same datatypes as the referencing
columns?  Have you ANALYZEd those tables lately?

            regards, tom lane

pgsql-general by date:

Previous
From: Jean-Christian Imbeault
Date:
Subject: Perfornamce Q
Next
From: Jean-Christian Imbeault
Date:
Subject: Re: Perfornamce Q