Re: slow update - Mailing list pgsql-performance

From Tom Lane
Subject Re: slow update
Date
Msg-id 24583.1129228445@sss.pgh.pa.us
Whole thread Raw
In response to slow update  (Patrick Hatcher <PHatcher@macys.com>)
Responses Re: slow update
List pgsql-performance
Patrick Hatcher <PHatcher@macys.com> writes:
> Pg 7.4.5

> Trying to do a update of fields on 23M row database.
> Is it normal for this process to take 16hrs and still clocking?

Are there foreign keys pointing at the table being updated?  If so,
failure to index the referencing columns could create this sort of
performance problem.  Also, in 7.4 you'd better be sure the referencing
columns are the same datatype as the referenced column.

            regards, tom lane

pgsql-performance by date:

Previous
From: Patrick Hatcher
Date:
Subject: slow update
Next
From: Patrick Hatcher
Date:
Subject: Re: slow update