Re: Updates on large tables are extremely slow

Поиск
Список
Период
Сортировка
От Mark Kirkwood
Тема Re: Updates on large tables are extremely slow
Дата
Msg-id 42ACF2DD.8090409@paradise.net.nz
обсуждение исходный текст
Ответ на Updates on large tables are extremely slow  (Yves Vindevogel <yves.vindevogel@implements.be>)
Список pgsql-performance
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' ?

Cheers

Mark

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

Предыдущее
От: elein@varlena.com (elein)
Дата:
Сообщение: Resource Requirements
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: Index ot being used