Re: ffunc called multiple for same value

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ffunc called multiple for same value
Дата
Msg-id 28033.1090616483@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: ffunc called multiple for same value  (Ian Burrell <imb@rentrak.com>)
Список pgsql-hackers
Ian Burrell <imb@rentrak.com> writes:
> We are doing things in the aggregates that make them troublesome when 
> called the ffunc is called multiple times.  The state structure uses a 
> lot of memory for intermediate work.  The memory needs to be freed as 
> soon as possible otherwise there is a danger of running of out memory. 

Possibly you should just force enable_hashagg off, if you are concerned
about memory usage.  ISTM that running multiple transvalue calculations
in parallel is a bad idea from the start, if you are feeling that tense
about the amount of memory that will be chewed up by just one.
        regards, tom lane


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

Предыдущее
От: Thomas F.O'Connell
Дата:
Сообщение: psql listTables
Следующее
От: Tom Lane
Дата:
Сообщение: Re: psql listTables