From: andrew@pillette.com
To: Miguel Arroz <arroz@guiamac.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: UPDATE 66k rows too slow
Date: Sun, 9 Mar 2008 20:10:10 -0800
Message-ID: <200803100410.m2A4AAd09614@pillette.com> (raw)
Miguel Arroz <arroz@guiamac.com> wrote ..
> I'm testing an update on 66k rows on Postgresql, and it seems
> something is not right here.
>
> My server is a Quad-Xeon 3.2 Ghz with 2 GB RAM and a RAID 1 running
> FreeBSD 6.3 and PgSQL 8.3. My development machine is a PowerBook G4
> 1.67 Ghz with 2 GB RAM, OS X Leopard and PgSQL 8.3.
[62 seconds on server, 25 seconds on much weaker development machine]
OK, my guess is that the server's tables are bloated beyond what regular VACUUM can fix. Try a VACUUM FULL VERBOSE or a re-CLUSTER if the tables are clustered.
Hope this helps.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: andrew@pillette.com, arroz@guiamac.com
Subject: Re: UPDATE 66k rows too slow
In-Reply-To: <200803100410.m2A4AAd09614@pillette.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox