Re: [PROPOSAL] VACUUM Progress Checker.

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: [PROPOSAL] VACUUM Progress Checker.
Дата
Msg-id CANP8+jJPt3qru9h1N2k2_KKjjSuXDYgyX6BdW3XUKBEG+ShgKg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [PROPOSAL] VACUUM Progress Checker.  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: [PROPOSAL] VACUUM Progress Checker.
Re: [PROPOSAL] VACUUM Progress Checker.
Список pgsql-hackers
On 30 June 2015 at 08:52, Pavel Stehule <pavel.stehule@gmail.com> wrote:
 
I though about the possibilities of progress visualization - and one possibility is one or two special column in pg_stat_activity table - this info can be interesting for VACUUM started by autovacuum too.

Yes, I suggest just a single column on pg_stat_activity called pct_complete

trace_completion_interval = 5s (default)

Every interval, we report the current % complete for any operation that supports it. We just show NULL if the current operation has not reported anything or never will.

We do this for VACUUM first, then we can begin adding other operations as we work out how (for that operation).
 
--
Simon Riggs                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: Reducing ClogControlLock contention
Следующее
От: Amit Langote
Дата:
Сообщение: Re: [PROPOSAL] VACUUM Progress Checker.