Re: Vacuum running out of memory

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Vacuum running out of memory
Дата
Msg-id 13154.1260290563@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Vacuum running out of memory  (Jonathan Foy <thefoy@gmail.com>)
Список pgsql-performance
Jonathan Foy <thefoy@gmail.com> writes:
> I was wondering if that was the problem.  So I'm correct in thinking that
> the failure occurred when the vacuum tried to pull its 256 MB as defined in
> the maintenance_work_mem value, and the system just did not have enough
> available...any idea why that would suddenly start happening?  The indexes I
> created shouldn't have affected that, should they?

Not directly, AFAICS, but they could stretch out the time required to
vacuum their tables, thus possibly leading to vacuums overlapping that
didn't overlap before.  Just a guess though.  Another likely bet is
that this is just an effect of the overall system load increasing
over time (more backends == more memory needed).

            regards, tom lane

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

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: Vacuum running out of memory
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Re: Optimizing Bitmap Heap Scan.