Re: [GENERAL] updates (postgreSQL) very slow

2004-03-10 Thread Fred Moyer
On Wed, 2004-03-10 at 15:30, Tom Lane wrote: > "Fred Moyer" <[EMAIL PROTECTED]> writes: > >> This is just a Seq Scan where a numeric field must be updated to > >> NULL but if I run it you can see that this simple query takes > >> forever (7628686.23 ms this is over 2 hours for only updating > >> 74

Re: [GENERAL] updates (postgreSQL) very slow

2004-03-10 Thread scott.marlowe
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