Re: progress of long running operation

Поиск
Список
Период
Сортировка
От Scott Ribe
Тема Re: progress of long running operation
Дата
Msg-id CF12D331-2BD6-4495-AF9C-76FF53400BAB@elevated-dev.com
обсуждение исходный текст
Ответ на Re: progress of long running operation  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On Dec 27, 2012, at 12:46 PM, Tom Lane wrote:

> 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.

That's exactly the kind of thing I was hoping for. I'm actually inserting into an empty table, so "dead" tuples would
bedead accurate in my case ;-) 

Or I could suck it up and do them in batches instead of one giant pass...

--
Scott Ribe
scott_ribe@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice






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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: progress of long running operation
Следующее
От: Mark Morgan Lloyd
Дата:
Сообщение: Re: libpq thread safety