Re: PG7.4 ordering operator

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PG7.4 ordering operator
Дата
Msg-id 4023.1069339457@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: PG7.4 ordering operator  (strk <strk@keybit.net>)
Список pgsql-hackers
strk <strk@keybit.net> writes:
> I've provided a default btree operator class but I'm often 
> going out of memory when using DISTINCT or UNION clauses.

> How can I reduce memory usage in these cases ?
> Since passed argument are TOASTED, but I use only a small
> initial portion if them to make the computation, can I 
> avoid DETOASTING them and still reach that initial part ?

No, I don't think so, but see PG_FREE_IF_COPY.  Operators used
in btree indexes are expected not to leak memory.
        regards, tom lane


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

Предыдущее
От: "Matthew T. O'Connor"
Дата:
Сообщение: Re: [PERFORM] More detail on settings for pgavd?
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: Build farm