| От | 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
|
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера