Re: progress of long running operation

Поиск
Список
Период
Сортировка
От 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 по дате отправления:

Предыдущее
От: Scott Ribe
Дата:
Сообщение: progress of long running operation
Следующее
От: Scott Ribe
Дата:
Сообщение: Re: progress of long running operation