Re: updates (postgreSQL) very slow - Mailing list pgsql-general

From scott.marlowe
Subject Re: updates (postgreSQL) very slow
Date
Msg-id Pine.LNX.4.33.0403101015540.10418-100000@css120.ihs.com
Whole thread Raw
In response to updates (postgreSQL) very slow  ("Bobbie van der Westhuizen" <Bobbie@irene.agric.za>)
List pgsql-general
Have you run this update query again and again with vacuuming?

http://www.postgresql.org/docs/7.4/static/maintenance.html#ROUTINE-VACUUMING

If so, you might have millions and millions of dead tuples taking up
space and slowing things down.  If you're running 7.4, install the
autovacuum daemon and turn it on.  Nice little program that should mostly
take care of this issue for you.

Got any foreign keys on that field?  Triggers?




pgsql-general by date:

Previous
From: Frank van Vugt
Date:
Subject: Re: does this look more like a possible bug or more like a possible hardware problem...? (long)
Next
From: Tom Lane
Date:
Subject: Re: does this look more like a possible bug or more like a possible hardware problem...? (long)