Friday, December 17, 2021 2:03 PM Kyotaro Horiguchi <horikyota....@gmail.com> wrote: > It sends stats packets at every commit-like operation on apply workers. The > current pgstat is so smart that it refrain from sending stats packets at too > high > frequency. We already suffer frequent stats packets so apply workers need to > bahave the same way. > > That is, the new stats numbers are once accumulated locally then the > accumulated numbers are sent to stats collector by pgstat_report_stat. Hi, Horiguchi-san.
I felt your point is absolutely right ! Updated the patch to address your concern. Best Regards, Takamichi Osumi
v18-0002-Extend-pg_stat_subscription_workers-to-include-g.patch
Description: v18-0002-Extend-pg_stat_subscription_workers-to-include-g.patch
v18-0001-Fix-alignments-of-TAP-tests-for-pg_stat_subscrip.patch
Description: v18-0001-Fix-alignments-of-TAP-tests-for-pg_stat_subscrip.patch