Re: slow update

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Patrick Hatcher <PHatcher(at)macys(dot)com>
Cc: postgres performance list <pgsql-performance(at)postgresql(dot)org>
Subject: Re: slow update
Date: 2005-10-13 18:34:05
Message-ID: 24583.1129228445@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Patrick Hatcher <PHatcher(at)macys(dot)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

In response to

  • slow update at 2005-10-13 16:34:39 from Patrick Hatcher

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Patrick Hatcher 2005-10-13 18:37:09 Re: slow update
Previous Message Patrick Hatcher 2005-10-13 16:34:39 slow update