Re: remove useless ccache searching

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: remove useless ccache searching
Дата
Msg-id CAFj8pRB9NrQLN77dy-gyyp7S6Uf8+b-g1AwbUgNzty9Cz_TdxQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: remove useless ccache searching  (Andy Colson <andy@squeakycode.net>)
Список pgsql-hackers
Hello

2011/9/5 Andy Colson <andy@squeakycode.net>:
> Pavel, I have not taken on your patch for review, but I was reading the
> history of it, and one question popped up:
>
> If you are allocating a new cache, what if the array is really big, will 1st
> cache + your cache get bigger than work_mem?  (or are array op's not
> constrained by work_mem?  Sorry, I have not used array's so not sure if
> there are memory limits on them)

this patch doesn't cache a array - it store only a 18 bytes more per
array variable - it doesn't depend on array size.

but generally, arrays are not limited by work_mem - so if you work
with large arrays - you can go out of memory.

Regards

Pavel


>
> -Andy
>


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

Предыдущее
От: hubert depesz lubaczewski
Дата:
Сообщение: Re: [GENERAL] pg_upgrade problem
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [GENERAL] pg_upgrade problem