Re: Vaccuum best practice: cronjob or autovaccuum?

Поиск
Список
Период
Сортировка
От Andrew Sullivan
Тема Re: Vaccuum best practice: cronjob or autovaccuum?
Дата
Msg-id 20080828162743.GA26301@commandprompt.com
обсуждение исходный текст
Ответ на Re: Vaccuum best practice: cronjob or autovaccuum?  (Joao Ferreira gmail <joao.miguel.c.ferreira@gmail.com>)
Список pgsql-general
On Thu, Aug 28, 2008 at 05:15:06PM +0100, Joao Ferreira gmail wrote:

> When autovacuum was introduced, I kept the weekly VACUUM FULL because it
> efectively brings disk ocupatio down, dispite it grows back after a few
> hours. It's just re-assuring to me to make sure that at least one of the
> vacuums it's working when I see the weekly drop of disk ocupation.

It actually bloats your index and hurts you.  Don't do that.  If the
number of tuples in your various tables is staying about the same,
your size on disk should stabilise.  That's the thing you want to see.

A

--
Andrew Sullivan
ajs@commandprompt.com
+1 503 667 4564 x104
http://www.commandprompt.com/

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

Предыдущее
От: "Mason Hale"
Дата:
Сообщение: Poor planner estimation with partitioned tables
Следующее
От: Jeff Davis
Дата:
Сообщение: Re: strange explain analyze output