Re: Flushing large data immediately in pqcomm

Поиск
Список
Период
Сортировка
От Jelte Fennema-Nio
Тема Re: Flushing large data immediately in pqcomm
Дата
Msg-id CAGECzQRNBaGu8TrUk+oAnTSd4r1-Osb7a8R6w8FJDzBhKTpeyA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Flushing large data immediately in pqcomm  (Andres Freund <andres@anarazel.de>)
Ответы Re: Flushing large data immediately in pqcomm  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
On Sat, 6 Apr 2024 at 22:21, Andres Freund <andres@anarazel.de> wrote:
> The small regression for small results is still kinda visible, I haven't yet
> tested the patch downthread.

Thanks a lot for the faster test script, I'm also impatient. I still
saw the small regression with David his patch. Here's a v6 where I
think it is now gone. I added inline to internal_put_bytes too. I
think that helped especially because for two calls to
internal_put_bytes len is a constant (1 and 4) that is smaller than
PqSendBufferSize. So for those calls the compiler can now statically
eliminate the new codepath because "len >= PqSendBufferSize" is known
to be false at compile time.

Also I incorporated all of Ranier his comments.

Вложения

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

Предыдущее
От: Dmitry Koval
Дата:
Сообщение: Re: Add SPLIT PARTITION/MERGE PARTITIONS commands
Следующее
От: Thomas Munro
Дата:
Сообщение: Re: Extension Enhancement: Buffer Invalidation in pg_buffercache