Re: Long running update

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Long running update
Дата
Msg-id 1880.1123822382@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Long running update  (Greg Stark <gsstark@mit.edu>)
Ответы Re: Long running update  (Greg Stark <gsstark@mit.edu>)
Список pgsql-general
Greg Stark <gsstark@mit.edu> writes:
> One feature that would be handy for doing this would be if Postgres supported
> READ DIRTY. Few databases support it, and Postgres currently doesn't, but it
> would be extremely handy for peeking to see how much progress an update,
> delete, or insert has made.

Would it?  My first thought on reading the OP was to recommend
contrib/pgstattuple, but I refrained after thinking that if the table
is all that big, the last thing you need is someone doing a seqscan of
the whole table to see where you are.  Much less doing so repeatedly.

            regards, tom lane

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

Предыдущее
От: Tomek Grzejszczyk
Дата:
Сообщение: Re: function accepting a row
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: plphp crashing server