Re: pg_stat_activity xact_start and autovacuum

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: pg_stat_activity xact_start and autovacuum
Дата
Msg-id 20080211132740.GA6056@alvh.no-ip.org
обсуждение исходный текст
Ответ на pg_stat_activity xact_start and autovacuum  ("Dawid Kuroczko" <qnex42@gmail.com>)
Ответы Re: pg_stat_activity xact_start and autovacuum
Список pgsql-general
Dawid Kuroczko escribió:

> I'm using 8.3.0 and I see that autovacuum processes in
> pg_stat_activity have xact_start.
>
> As far as I know, since at least 8.2.x the VACUUM does not start a new
> transaction.
> If that statement is correct, the xact_start column in
> pg_stat_activity should be NULL...
> Why does it matter?  Monitoring.  It's good to know the age of oldest
> running transaction, and autovacuuming is well, adding noise.

Autovacuum certainly uses transactions ...  ??

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

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

Предыдущее
От: Ivan Sergio Borgonovo
Дата:
Сообщение: end of life for pg versions...
Следующее
От: "Christopher Browne"
Дата:
Сообщение: Re: end of life for pg versions...