Re: Updates on large tables are extremely slow

Поиск
Список
Период
Сортировка
От Mark Kirkwood
Тема Re: Updates on large tables are extremely slow
Дата
Msg-id 42AD49BF.7050706@paradise.net.nz
обсуждение исходный текст
Ответ на Updates on large tables are extremely slow  (Yves Vindevogel <yves.vindevogel@implements.be>)
Ответы Re: Updates on large tables are extremely slow  (Yves Vindevogel <yves.vindevogel@implements.be>)
How to enhance the chance that data is in disk cache  (Jona <jonanews@oismail.com>)
Список 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' ?

В списке pgsql-performance по дате отправления:

Предыдущее
От: Yves Vindevogel
Дата:
Сообщение: Re: View not using index
Следующее
От: Yves Vindevogel
Дата:
Сообщение: Re: Updates on large tables are extremely slow