Re: Update taking forever

Поиск
Список
Период
Сортировка
От Jan Otto
Тема Re: Update taking forever
Дата
Msg-id 1923702A-762B-4C35-A18E-C926233B886D@me.com
обсуждение исходный текст
Ответ на Update taking forever  ("Oliver Weichhold" <oliver@weichhold.com>)
Список pgsql-general
Hi Oliver,

> currently idle except for the update statement. Any suggestions why
> it takes so long to update a couple million rows?
>
> update characters set last_update = null

Try to update only rows that not already null.

update characters set last_update = null where last_update is not null;

Jan






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

Предыдущее
От: "Dot Yet"
Дата:
Сообщение: Horology test failure while compiling PostgreSQL 8.3.3 on Solaris 10 x64
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Regression failing on build -> ERROR: could not access file "$libdir/plpgsql": No such file or directory