Re: [PATCH] Better Performance for PostgreSQL with large INSERTs

Поиск
Список
Период
Сортировка
От Philipp Marek
Тема Re: [PATCH] Better Performance for PostgreSQL with large INSERTs
Дата
Msg-id b09e68d081019a351a6ed60d0d562bbb@marek.priv.at
обсуждение исходный текст
Ответ на Re: [PATCH] Better Performance for PostgreSQL with large INSERTs  (Filip Janus <fjanus@redhat.com>)
Список pgsql-hackers
Hi Filip,

> 7% is an interesting improvement for these cases. I see it as a nice
> feature,
> What about adding a GUC variable to have the ability to configure
> PQ_RECV_BUFFER_SIZE based on the user's needs?

Well, currently this is just the array size as a preprocessor macro,
so the executables .bss gets sized differently.

For a GUC quite some more code, including dynamical allocation
_and reallocation_ would be needed -- and this complexity I wanted
to avoid for the first discussion.


If a GUC fits the usage patterns better, I'm okay with it!



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