Re: slave restarts with kill -9 coming from somewhere, or nowhere

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: slave restarts with kill -9 coming from somewhere, or nowhere
Дата
Msg-id 6146.1365056278@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: slave restarts with kill -9 coming from somewhere, or nowhere  (Bert <biertie@gmail.com>)
Ответы Re: slave restarts with kill -9 coming from somewhere, or nowhere  (Bert <biertie@gmail.com>)
Список pgsql-admin
Bert <biertie@gmail.com> writes:
> These are my memory settings:
> work_mem = 4GB

> How is it possible that one connection (query) uses all the ram? And how
> can I avoid it?

Uh ... don't do the above.  work_mem is the allowed memory consumption
per query step, ie per hash or sort operation.  A complex query can
easily use multiples of work_mem.

            regards, tom lane


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

Предыдущее
От: Bert
Дата:
Сообщение: Re: slave restarts with kill -9 coming from somewhere, or nowhere
Следующее
От: Bert
Дата:
Сообщение: Re: slave restarts with kill -9 coming from somewhere, or nowhere