Re: Btree indizes, FILLFACTOR, vacuum_freeze_min_age and CLUSTER

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Btree indizes, FILLFACTOR, vacuum_freeze_min_age and CLUSTER
Дата
Msg-id 20090511205551.GF8689@alvh.no-ip.org
обсуждение исходный текст
Ответ на Btree indizes, FILLFACTOR, vacuum_freeze_min_age and CLUSTER  (Philipp Marek <philipp.marek@emerion.com>)
Ответы Re: Btree indizes, FILLFACTOR, vacuum_freeze_min_age and CLUSTER  (Philipp Marek <philipp.marek@emerion.com>)
Список pgsql-general
Philipp Marek wrote:

> A few days before we found the machine much slower, because of the autovacuum
> processes that were started automatically ["autovacuum: VACUUM ... (to prevent
> wraparound)"].
>
> After several days we killed that, and, as a quick workaround, changed
> "autovacuum_freeze_max_age" to 1G and restarted the server, which worked as
> before (and didn't ran the autovacuum processes).

Several days?  How large is your vacuum_cost_delay and
autovacuum_vacuum_cost_delay parameters?


> As a next idea we changed the cluster/reindex script to set
> "vacuum_freeze_min_age=0" before the CLUSTER call, hoping that this would
> solve our transaction ID wraparound problem.

REINDEX?  What are you doing REINDEX for?

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

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

Предыдущее
От: sramirez
Дата:
Сообщение: Re: warm-standby errors
Следующее
От: Andrew Maclean
Дата:
Сообщение: Getting a list of encodings.