Re: Full Vacuum/Reindex vs autovacuum

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: Full Vacuum/Reindex vs autovacuum
Дата
Msg-id AANLkTi=7ZGLB+bSj_rAWyzkQnU3=8KZsftnXb8C54gZa@mail.gmail.com
обсуждение исходный текст
Ответ на Full Vacuum/Reindex vs autovacuum  (Jason Long <jason@octgsoftware.com>)
Ответы Re: Full Vacuum/Reindex vs autovacuum  (Jason Long <jason@octgsoftware.com>)
Список pgsql-general
On Mon, Nov 8, 2010 at 11:50 AM, Jason Long <jason@octgsoftware.com> wrote:
> I currently have Postgres 9.0 install after an upgrade.  My database is
> relatively small, but complex.  The dump is about 90MB.
>
> Every night when there is no activity I do a full vacuum, a reindex,

One question, why?

> and then dump a nightly backup.

Good idea.

> Is this optimal with regards to performance?  autovacuum is set to the
> default.

that depends very much on your answer to the question of why are you
doing it and what you're trying to gain / work around with vacuum full
/ reindex every night.

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

Предыдущее
От: Ivan Sergio Borgonovo
Дата:
Сообщение: Re: finding the other statement causing a sharelock
Следующее
От: Jason Long
Дата:
Сообщение: Re: Full Vacuum/Reindex vs autovacuum