Re: Insufficient memory for this operation.

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: Insufficient memory for this operation.
Дата
Msg-id 874qiovlkm.fsf@stark.xeocode.com
обсуждение исходный текст
Ответ на Re: Insufficient memory for this operation.  (Együd Csaba (Freemail) <csegyud@freemail.hu>)
Ответы Re: Insufficient memory for this operation.
Список pgsql-general
Együd Csaba (Freemail) <csegyud@freemail.hu> writes:

> shared_buffers  = 20000         # min 16, at least max_connections*2, 8KB each

You can lower this to 10,000 or even lower.

> max_connections = 100
> work_mem = 16384                # min 64, size in KB

That's 16M per connection with a maximum of 100 connections. So that's up to
1.6G that postgres has been told it can grab. It's unlikely it would grab it
all at once though unless lots of connections are running queries with big
sorts.

--
greg

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

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: increasing max_connections on freebsd
Следующее
От: Christian Kratzer
Дата:
Сообщение: Re: increasing max_connections on freebsd