| От | Tom Lane |
|---|---|
| Тема | Re: Idea for minor tstore optimization |
| Дата | |
| Msg-id | 10240.1204152533@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Idea for minor tstore optimization (Neil Conway <neilc@samurai.com>) |
| Ответы |
Re: Idea for minor tstore optimization
|
| Список | pgsql-hackers |
Neil Conway <neilc@samurai.com> writes:
> 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.
Seems reasonable. Check whether tuplesort should offer the same, while
you are at it.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера