Idea for minor tstore optimization

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Idea for minor tstore optimization
Дата
Msg-id 1204144405.14838.40.camel@dell.linuxdev.us.dell.com
обсуждение исходный текст
Ответы Re: Idea for minor tstore optimization  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
I notice that several of the call sites of tuplestore_puttuple() start
with arrays of datums and nulls, call heap_form_tuple(), and then switch
into the tstore's context and call tuplestore_puttuple(), which
deep-copies the HeapTuple into the tstore. ISTM it would be faster and
simpler to provide a tuplestore_putvalues(), which just takes the datum
+ nulls arrays and avoids the additional copy.

-Neil




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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: OSSP can be used in the windows environment now!
Следующее
От:
Дата:
Сообщение: Re: [PATCHES] 2WRS [WIP]