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

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Fastpath while arranging the changes in LSN order in logicaldecoding
Дата
Msg-id 20200306181325.2tguinz62524qp2n@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: 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  (Dilip Kumar <dilipbalaut@gmail.com>)
Список pgsql-hackers
Hi,

On 2020-01-08 18:06:52 +0530, Dilip Kumar wrote:
> On Wed, 8 Jan 2020 at 5:28 PM, Heikki Linnakangas <hlinnaka@iki.fi> wrote:
> 
> > 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.
> 
> 
> I haven’t really measured the performance for this.  I will try to do that
> next week.  Thanks for looking into this.

Did you do that?

Regards,

Andres



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Is it time to retire type "opaque"?
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Symbolic names for the values of typalign and typstorage