Re: Vacuum Problems

Поиск
Список
Период
Сортировка
От Matthew T. O'Connor
Тема Re: Vacuum Problems
Дата
Msg-id 492DA95D.3010303@zeut.net
обсуждение исходный текст
Ответ на Re: Vacuum Problems  ("Rafael Domiciano" <rafael.domiciano@gmail.com>)
Ответы Re: Vacuum Problems
Список pgsql-admin
Rafael Domiciano wrote:
> I'm not using autovacuum. Regular vacuum goes ok.
> To see the last 10 lines of verbose i will need to run vacuum tonight
>
> If a run a reindex before the vacuum full, increase the "speed" of
> doing vacuum? I found something about it googling.

It might help a bit, but by the end of VACUUM FULL you would need to run
reindex again as VACUUM FULL tends to cause a lot of index bloat.   It
is normal for tables to have some slack space, so if you do a regular
vacuum every day (or let autovacuum) it's normal for the table to be a
bit bigger than after a VACUUM FULL, but they should ready steady state
and stop growing.

You may also want to look into using CLUSTER it will rewrite the whole
table and is typically much more efficient that VACUUM FULL, but it
requires 2x disk space while running.

Matt


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

Предыдущее
От: Jan-Peter Seifert
Дата:
Сообщение: Re: Vacuum Problems
Следующее
От: "Scott Marlowe"
Дата:
Сообщение: Re: Vacuum Problems