Re: A potential memory leak on Merge Join when Sort node is not below Materialize node

Поиск
Список
Период
Сортировка
От David Rowley
Тема Re: A potential memory leak on Merge Join when Sort node is not below Materialize node
Дата
Msg-id CAApHDvpozzg6hUmykziG4J9uU_g=OaPmFAGJMM=7qHf7ZQfpEw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: A potential memory leak on Merge Join when Sort node is not below Materialize node  (Peter Geoghegan <pg@bowt.ie>)
Ответы Re: A potential memory leak on Merge Join when Sort node is not below Materialize node  (Peter Geoghegan <pg@bowt.ie>)
Список pgsql-hackers
On Thu, 29 Sept 2022 at 14:32, Peter Geoghegan <pg@bowt.ie> wrote:
>
> On Wed, Sep 28, 2022 at 6:13 PM David Rowley <dgrowleyml@gmail.com> wrote:
> > Master:
> > latency average = 313.197 ms
> >
> > Patched:
> > latency average = 304.335 ms
> >
> > So not a very impressive speedup there (about 3%)
>
> Worth a try, at least. Having a more consistent interface is valuable
> in itself too.

Just testing the datum sort in nodeSort.c with the same table as
before but using the query:

select b from t1 order by b offset 1000000;

Master:
latency average = 344.763 ms

Patched:
latency average = 268.374 ms

about 28% faster.

I'll take this to another thread and put it in the next CF

David



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

Предыдущее
От: Masahiko Sawada
Дата:
Сообщение: Re: [PATCH] Log details for client certificate failures
Следующее
От: David Rowley
Дата:
Сообщение: Have nodeSort.c use datum sorts single-value byref types