Re: update query taking too long

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: update query taking too long
Дата
Msg-id 21072.1183009270@sss.pgh.pa.us
обсуждение исходный текст
Ответ на update query taking too long  (Chris <dmagick@gmail.com>)
Ответы Re: update query taking too long  (Chris <dmagick@gmail.com>)
Список pgsql-performance
Chris <dmagick@gmail.com> writes:
> I'm trying to do an update of a reasonably large table and it's taking
> way too long so I'm trying to work out why and if I need to tweak any
> settings to speed it up.

Any foreign keys leading to or from that table?

3.5 million row updates are not exactly gonna be instantaneous anyway,
but only FK checks or really slow user-written triggers would make it
take upwards of an hour ...

            regards, tom lane

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

Предыдущее
От: "A. Kretschmer"
Дата:
Сообщение: Re: update query taking too long
Следующее
От: Chris
Дата:
Сообщение: Re: update query taking too long