Re: autovacuum not freeing up unused space on 8.3.0

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: autovacuum not freeing up unused space on 8.3.0
Дата
Msg-id 20080226121539.GA5763@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: autovacuum not freeing up unused space on 8.3.0  (Stuart Brooks <stuartb@cat.co.za>)
Список pgsql-general
Stuart Brooks wrote:

> I am not using an ALTER table command but I am doing periodic ANALYZEs
> to evaluate the table size. Could this be causing the problem? I notice
> that stopping the ANALYZE calls appears to eliminate the canceled
> autovacuum.

Why were you running ANALYZE on the first place?  If it's just to see
how many dead space there is, I suggest you peek into
pg_stat_user_tables instead, which is less invasive.  Autovacuum itself
should run ANALYZEs as needed (and you can, of course, tune it if you
feel it's not frequent enough in the default configuration).

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

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

Предыдущее
От: Gregory Stark
Дата:
Сообщение: Re: autovacuum not freeing up unused space on 8.3.0
Следующее
От: "Andreas Lau"
Дата:
Сообщение: Re: syntax error at or near "PROCEDURAL"