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
Ответ на
Список
Дерево обсуждения
autovacuum not freeing up unused space on 8.3.0 Stuart Brooks <stuartb@cat.co.za>
Re: autovacuum not freeing up unused space on 8.3.0 Alvaro Herrera <alvherre@commandprompt.com>
Re: autovacuum not freeing up unused space on 8.3.0 Stuart Brooks <stuartb@cat.co.za>
Re: autovacuum not freeing up unused space on 8.3.0 Alvaro Herrera <alvherre@commandprompt.com>
Re: autovacuum not freeing up unused space on 8.3.0 "Pavan Deolasee" <pavan.deolasee@gmail.com>
Re: autovacuum not freeing up unused space on 8.3.0 Stuart Brooks <stuartb@cat.co.za>
Re: autovacuum not freeing up unused space on 8.3.0 Tom Lane <tgl@sss.pgh.pa.us>
Re: autovacuum not freeing up unused space on 8.3.0 Stuart Brooks <stuartb@cat.co.za>
Re: autovacuum not freeing up unused space on 8.3.0 Alvaro Herrera <alvherre@commandprompt.com>
Re: autovacuum not freeing up unused space on 8.3.0 Stuart Brooks <stuartb@cat.co.za>
Re: autovacuum not freeing up unused space on 8.3.0 "Matthew T. O'Connor" <matthew@zeut.net>
Re: autovacuum not freeing up unused space on 8.3.0 Gregory Stark <stark@enterprisedb.com>
Re: autovacuum not freeing up unused space on 8.3.0 Stuart Brooks <stuartb@cat.co.za>
Re: autovacuum not freeing up unused space on 8.3.0 Stuart Brooks <stuartb@cat.co.za>
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
Дата:
От: Andreas Lau
Дата:
FAQ