Re: Fastpath while arranging the changes in LSN order in logicaldecoding

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: Fastpath while arranging the changes in LSN order in logicaldecoding
Дата
Msg-id 24e8f688-5750-8967-0339-6c9b5f112c51@iki.fi
обсуждение исходный текст
Ответ на Fastpath while arranging the changes in LSN order in logical decoding  (Dilip Kumar <dilipbalaut@gmail.com>)
Ответы Re: Fastpath while arranging the changes in LSN order in logical decoding
Список pgsql-hackers
On 25/11/2019 05:52, Dilip Kumar wrote:
> In logical decoding, while sending the changes to the output plugin we
> need to arrange them in the LSN order.  But, if there is only one
> transaction which is a very common case then we can avoid building the
> binary heap.  A small patch is attached for the same.

Does this make any measurable performance difference? Building a 
one-element binary heap seems pretty cheap.

- Heikki



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: adding partitioned tables to publications
Следующее
От: Fabien COELHO
Дата:
Сообщение: Re: pgbench - use pg logging capabilities