Re: Still confused about VACUUM vs. VACUUM FULL

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Still confused about VACUUM vs. VACUUM FULL
Дата
Msg-id 18292.1055438167@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Still confused about VACUUM vs. VACUUM FULL  (Jeff Boes <jboes@nexcerpt.com>)
Ответы Re: Still confused about VACUUM vs. VACUUM FULL  (Jeff Boes <jboes@nexcerpt.com>)
Список pgsql-admin
Jeff Boes <jboes@nexcerpt.com> writes:
> On Thu, 2003-06-12 at 12:42, Tom Lane wrote:
>> How often do you VACUUM?

> We've gone from daily, to twice daily, to several times during the "peak
> updates" period, and back to twice daily.

I suspect that the real problem here is the old open transactions
discussed in your other message.  Those are preventing VACUUM from
reclaiming space.  Now that you've got that fixed, you need to revisit
your experiments about how often to VACUUM.

> We're also ANALYZE-ing the largest 12-18 tables on a cycle: every twenty
> minutes, a daemon wakes up and ANALYZEs until they're all done or two
> minutes has elapsed, whichever comes first.

That sounds a tad excessive; are the statistics really changing that
fast?

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: REINDEX by table or by index?
Следующее
От: Jeff Boes
Дата:
Сообщение: Re: Still confused about VACUUM vs. VACUUM FULL