Re: PostgreSQL Function Language Performance: C vs PL/PGSQL

Поиск
Список
Период
Сортировка
От Matthew Wakeling
Тема Re: PostgreSQL Function Language Performance: C vs PL/PGSQL
Дата
Msg-id alpine.DEB.2.00.1006011359030.4083@aragorn.flymine.org
обсуждение исходный текст
Ответ на Re: PostgreSQL Function Language Performance: C vs PL/PGSQL  (Stephen Frost <sfrost@snowman.net>)
Ответы Re: PostgreSQL Function Language Performance: C vs PL/PGSQL
Список pgsql-performance
On Tue, 1 Jun 2010, Stephen Frost wrote:
> * Matthew Wakeling (matthew@flymine.org) wrote:
>> The major case I found when writing pl/pgsql was when trying to build
>> arrays row by row. AFAIK when I tried it, adding a row to an array caused
>> the whole array to be copied, which put a bit of a damper on performance.
>
> Using the built-ins now available in 8.4 (array_agg), that copying
> doesn't happen any more.

Thanks. I had wondered if that had been improved.

Matthew

--
 Our riverbanks and seashores have a beauty all can share, provided
 there's at least one boot, three treadless tyres, a half-eaten pork
 pie, some oil drums, an old felt hat, a lorry-load of tar blocks,
 and a broken bedstead there.                   -- Flanders and Swann

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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: PostgreSQL Function Language Performance: C vs PL/PGSQL
Следующее
От: Brad Nicholson
Дата:
Сообщение: Re: Zeus IOPS