Re: Delay the variable initialization in get_rel_sync_entry

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: "houzj(dot)fnst(at)fujitsu(dot)com" <houzj(dot)fnst(at)fujitsu(dot)com>
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 01:30:46
Message-ID: YdT0xmjK+dKPwVS/@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.
--
Michael

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message wangw.fnst@fujitsu.com 2022-01-05 02:05:08 RE: row filtering for logical replication
Previous Message Michael Paquier 2022-01-05 01:26:54 Re: biblio.sgml dead link