Re: Need to vacuum multiple times for effectiveness?

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: Need to vacuum multiple times for effectiveness?
Дата
Msg-id 20020225183400.A16945@svana.org
обсуждение исходный текст
Ответ на Need to vacuum multiple times for effectiveness?  (Lincoln Yeoh <lyeoh@pop.jaring.my>)
Ответы Re: Need to vacuum multiple times for effectiveness?
Список pgsql-general
On Mon, Feb 25, 2002 at 03:28:20PM +0800, Lincoln Yeoh wrote:
> Hi,
>
> I'm using v7.1.3 and somehow when some tables get very bloated (many
> inserts over weeks) I seem to need to vacuum repeatedly before the table
> really gets cleaned up and postmaster starts using less CPU.

It is generally recommended to run VACUUM ANALYZE every day. The reason is
that new rows are put on the end of the table and yet need VACUUM to clean
out the cruft.

This is better explained in the docs.

--
Martijn van Oosterhout <kleptog@svana.org>
http://svana.org/kleptog/
> If the company that invents a cure for AIDS is expected to make their
> money back in 17 years, why can't we ask the same of the company that
> markets big-titted lip-syncing chicks and goddamn cartoon mice?

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

Предыдущее
От: Lincoln Yeoh
Дата:
Сообщение: Need to vacuum multiple times for effectiveness?
Следующее
От: Michael Meskes
Дата:
Сообщение: Re: [HACKERS] connect with ecpg