From: | Mark Kirkwood <markir(at)paradise(dot)net(dot)nz> |
---|---|
To: | Yves Vindevogel <yves(dot)vindevogel(at)implements(dot)be> |
Cc: | pgsql-performance(at)postgresql(dot)org |
Subject: | Re: Updates on large tables are extremely slow |
Date: | 2005-06-13 08:54:23 |
Message-ID: | 42AD49BF.7050706@paradise.net.nz |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance |
Apologies - I should have said output of 'VACUUM VERBOSE mytable'.
(been using 8.1, which displays dead tuple info in ANALYZE...).
Mark
Yves Vindevogel wrote:
> rvponp=# analyze verbose tblPrintjobs ;
> INFO: analyzing "public.tblprintjobs"
> INFO: "tblprintjobs": 19076 pages, 3000 rows sampled, 588209 estimated
> total rows
> ANALYZE
>
>
> On 13 Jun 2005, at 04:43, Mark Kirkwood wrote:
>
> Yves Vindevogel wrote:
>
> I'm trying to update a table that has about 600.000 records.
> The update query is very simple : update mytable set pagesdesc =
> - pages ;
> The query takes about half an hour to an hour to execute. I have
> tried a lot of things.
>
>
> Half an hour seem a bit long - I would expect less than 5 minutes on
> reasonable hardware.
>
> You may have dead tuple bloat - can you post the output of 'ANALYZE
> VERBOSE mytable' ?
From | Date | Subject | |
---|---|---|---|
Next Message | Yves Vindevogel | 2005-06-13 09:02:04 | Re: Updates on large tables are extremely slow |
Previous Message | Yves Vindevogel | 2005-06-13 07:35:47 | Re: View not using index |