Re: same query in high number of times

Поиск
Список
Период
Сортировка
От Grzegorz Jaśkiewicz
Тема Re: same query in high number of times
Дата
Msg-id 2f4958ff0906211336t4f732d0cycdc4c39f97a50472@mail.gmail.com
обсуждение исходный текст
Ответ на Re: same query in high number of times  ("Justin Graf" <justin@emproshunts.com>)
Список pgsql-performance
On Sun, Jun 21, 2009 at 9:01 PM, Justin Graf<justin@emproshunts.com> wrote:
> work_mem = 51024                        # min 64, size in KB
>
> Thats allot memory dedicated to work mem if you have 30 connections open
> this could eat up 1.5gigs pushing the data out of cache.

I thought work memory is max memory that can be allocated per
connection for sorting, etc. I think it is not allocated when
connection is opened, but only on 'if needed' basis.


--
GJ

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

Предыдущее
От: "Justin Graf"
Дата:
Сообщение: Re: same query in high number of times
Следующее
От: "Justin Graf"
Дата:
Сообщение: Re: same query in high number of times