| От | Tom Lane |
|---|---|
| Тема | Re: progress of long running operation |
| Дата | |
| Msg-id | 17788.1356637608@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | progress of long running operation (Scott Ribe <scott_ribe@elevated-dev.com>) |
| Ответы |
Re: progress of long running operation
|
| Список | pgsql-general |
Scott Ribe <scott_ribe@elevated-dev.com> writes:
> Is there any way to get some insight into the progress of:
> insert into foo select distinct on (...) from bar where...
Watching the physical size of the foo table might be close enough.
Or you could run contrib/pgstattuple's pgstattuple() function every so
often --- it will report the uncommitted tuples as "dead", which is
inaccurate, but you'd be able to see how fast the number is increasing.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера