Re: Periodically slow inserts

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Periodically slow inserts
Дата
Msg-id 25979.1287679800@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Periodically slow inserts  (Gael Le Mignot <gael@pilotsystems.net>)
Ответы Re: Periodically slow inserts  (Leonardo Francalanci <m_lists@yahoo.it>)
Список pgsql-performance
Gael Le Mignot <gael@pilotsystems.net> writes:
> Thu, 21 Oct 2010 10:55:48 -0400, you wrote:
>>> I think this may be caused by GIN's habit of queuing index insertions
>>> until it's accumulated a reasonable-size batch:
>>> http://www.postgresql.org/docs/9.0/static/gin-implementation.html#GIN-FAST-UPDATE

> So a big work_mem and a regular  vacuum would do the tick, I think. Does
> auto_vacuum triggers the  gin index vacuuming too, or  does it require a
> manual vacuum ?

Autovacuum will handle it too.

            regards, tom lane

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

Предыдущее
От: Steve Crawford
Дата:
Сообщение: Re: BBU Cache vs. spindles
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: BBU Cache vs. spindles