Re: pg_stat_activity reporting of VACUUM in 8.1

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: pg_stat_activity reporting of VACUUM in 8.1
Дата
Msg-id 20090724165843.GD15591@alvh.no-ip.org
обсуждение исходный текст
Ответ на pg_stat_activity reporting of VACUUM in 8.1  (Kevin Kempter <kevink@consistentstate.com>)
Список pgsql-admin
Kevin Kempter wrote:
> Hi all;
>
> looking at a system running 8.1.15
> via a select from pg_stat_activity I see a row where the vcurrent_query =
> 'VACUUM'
>
> I see also that autovacuum is on. Would autovacuum be running a vacuum on the
> entire db? I didn't think autovacuum did that. If not, how do I know in
> version 8.1 what table is being vacuumed? I thought that even in 8.1 the
> current_query column in pg_stat_activity would list the full sql being run as
> opposed to 'VACUUM'.

It might need to run database wide vacuum in case of transaction
wraparound.

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

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

Предыдущее
От: Julius Tuskenis
Дата:
Сообщение: Re: Cannot connect to postgresql
Следующее
От: Carol Walter
Дата:
Сообщение: Re: Cannot connect to postgresql