RE: Delay the variable initialization in get_rel_sync_entry

From: "houzj(dot)fnst(at)fujitsu(dot)com" <houzj(dot)fnst(at)fujitsu(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, Euler Taveira <euler(at)eulerto(dot)com>
Subject: RE: Delay the variable initialization in get_rel_sync_entry
Date: 2022-01-05 05:51:44
Message-ID: OS0PR01MB571696B7BEDC543ED8B94822944B9@OS0PR01MB5716.jpnprd01.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wednesday, January 5, 2022 9:31 AM Michael Paquier <michael(at)paquier(dot)xyz> wrote:
> On Fri, Dec 24, 2021 at 01:27:26PM +0000, houzj(dot)fnst(at)fujitsu(dot)com wrote:
> > Here is the perf result of pgoutput_change after applying the patch.
> > I didn't notice something else that stand out.
> >
> > |--2.99%--pgoutput_change
> > |--1.80%--get_rel_sync_entry
> > |--1.56%--hash_search
> >
> > Also attach complete profiles.
>
> Thanks. I have also done my own set of measurements, and the difference is
> noticeable in the profiles I looked at. So, applied down to 13.
Thanks for pushing!

Best regards,
Hou zj

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2022-01-05 05:56:44 Re: row filtering for logical replication
Previous Message Fujii Masao 2022-01-05 05:40:44 Re: Add 64-bit XIDs into PostgreSQL 15