Re: shared-memory based stats collector

From: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>
To: masao(dot)fujii(at)oss(dot)nttdata(dot)com
Cc: andres(at)anarazel(dot)de, gkokolatos(at)protonmail(dot)com, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: shared-memory based stats collector
Date: 2021-03-16 01:27:55
Message-ID: 20210316.102755.2278171067840853753.horikyota.ntt@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

At Mon, 15 Mar 2021 17:49:36 +0900 (JST), Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com> wrote in
> Thanks for committing this! I'm very happy to see this reduces the
> size of this patchset.

Now that 0003 is committed as d75288fb27, and 33394ee6f2 conflicts
with old 0004, I'd like to post a rebased version for future work.

The commit 33394ee6f2 adds on-exit forced write of WAL stats on
walwriter and in this patch that part would appear to have been
removed. However, this patchset already does that by calling to
pgstat_report_stat from pgstat_beshutdown_hook.

regards.

--
Kyotaro Horiguchi
NTT Open Source Software Center

Attachment Content-Type Size
v56-0001-sequential-scan-for-dshash.patch text/x-patch 9.3 KB
v56-0002-Add-conditional-lock-feature-to-dshash.patch text/x-patch 6.2 KB
v56-0003-Shared-memory-based-stats-collector.patch text/x-patch 312.6 KB
v56-0004-Doc-part-of-shared-memory-based-stats-collector.patch text/x-patch 19.7 KB
v56-0005-Remove-the-GUC-stats_temp_directory.patch text/x-patch 13.7 KB
v56-0006-Exclude-pg_stat-directory-from-base-backup.patch text/x-patch 1.2 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Munro 2021-03-16 01:41:14 Re: Consider Parallelism While Planning For REFRESH MATERIALIZED VIEW
Previous Message Justin Pryzby 2021-03-16 01:18:59 Re: [PATCH]: Allow errors in parameter values to be reported during the BIND phase itself..