Re: Reducing memory usage of insert into select operations?

Поиск
Список
Период
Сортировка
От Francisco Reyes
Тема Re: Reducing memory usage of insert into select operations?
Дата
Msg-id 18a7f9af81dcb203e10639a5fe1fe73c@stringsutils.com
обсуждение исходный текст
Ответ на Re: Reducing memory usage of insert into select operations?  (Martijn van Oosterhout <kleptog@svana.org>)
Список pgsql-general
On 12:03 pm 07/18/08 Martijn van Oosterhout <kleptog@svana.org> wrote:

> Perhaps you can try reducing the shared_buffers, to see if that helps
> more?

Will try.

> 8MB is quite small for workmem. More shared_buffers is not
> necessarily better.

Ok, but from everything I had read shared_buffers of 1/4 seemed like a
starting point. Will try reducing it to 2GB.

> Also, how much swap are you running?

Started out with 12GB (same as memory) and last night I added 24GB more.
I had 2 instances of inserts going so each exausted about 18GB of ram!


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

Предыдущее
От: "dfx"
Дата:
Сообщение: Returns cursor?
Следующее
От: "Francisco Reyes"
Дата:
Сообщение: Re: Reducing memory usage of insert into select operations?