Re: Distinguishing autovacuum activity in pg_stat_activity

Поиск
Список
Период
Сортировка
От Joshua D. Drake
Тема Re: Distinguishing autovacuum activity in pg_stat_activity
Дата
Msg-id 478A9064.3050001@commandprompt.com
обсуждение исходный текст
Ответ на Distinguishing autovacuum activity in pg_stat_activity  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Distinguishing autovacuum activity in pg_stat_activity  ("Guillaume Smet" <guillaume.smet@gmail.com>)
Список pgsql-hackers
Tom Lane wrote:
> I was just noticing that $SUBJECT is hard --- the entry in current_query
> looks exactly like a manual vacuum command, and there's not anything in
> the other fields that looks different either.
> 
> Since autovacuum.c is making up its pgstat_report_activity string
> anyway, it would be easy to make the string look like, say,
>     AUTO VACUUM ANALYZE foo.bar
> 
> I think this would be a helpful change, but some might find it
> confusing.  Thoughts?

I find

AUTOVACUUM ANALYZE foo.bar more clear.

Joshua D. Drake

> 
>             regards, tom lane
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?
> 
>                http://www.postgresql.org/docs/faq
> 



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

Предыдущее
От: Hannes Dorbath
Дата:
Сообщение: Re: Index trouble with 8.3b4
Следующее
От: "Guillaume Smet"
Дата:
Сообщение: Re: Distinguishing autovacuum activity in pg_stat_activity