Re: tables getting bloated

Поиск
Список
Период
Сортировка
От Vick Khera
Тема Re: tables getting bloated
Дата
Msg-id 2968dfd61003180737q307298f5u260ae3ca33fd2f94@mail.gmail.com
обсуждение исходный текст
Ответ на Re: tables getting bloated  (akp geek <akpgeek@gmail.com>)
Список pgsql-general
2010/3/18 akp geek <akpgeek@gmail.com>:
> I have job that does the vacuum full every day for those 2 tables and also
> for the database. By the end of the day, the get bloated.

Do not run vacuum full.  Run vacuum.  For these two tables, run vacuum
more often, as you clearly are updating it very frequently.  You may
want to investigate running autovacuum which will probably take care
of this for you.

For our big database, I run vacuum nightly on the whole thing, and let
autovacuum run as well, to take care of the high-churn tables.  I run
the nightly just to keep the autovacuum from running during peak times
on my larger tables which don't churn as much, but are speed
sensitive.

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

Предыдущее
От: Ashesh Vashi
Дата:
Сообщение: Re: compile a program witn libpq64 (error LIBCMT.Lib...)
Следующее
От: "Albe Laurenz"
Дата:
Сообщение: Re: definitions of regexp functions required