Re: shared-memory based stats collector

From: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>
To: gkokolatos(at)protonmail(dot)com
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: shared-memory based stats collector
Date: 2021-03-05 08:18:56
Message-ID: 20210305.171856.303779618961522117.horikyota.ntt@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

At Thu, 21 Jan 2021 12:03:48 +0900 (JST), Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com> wrote in
> Commit 960869da08 (database statistics) conflicted with this. Rebased.
>
> I'm concerned about the behavior that pgstat_update_connstats calls
> GetCurrentTimestamp() every time stats update happens (with intervals
> of 10s-60s in this patch). But I didn't change that design since that
> happens with about 0.5s intervals in master and the rate is largely
> reduced in this patch, to make this patch simpler.

I stepped on my foot, and another commit coflicted. Just rebased.

regards.

--
Kyotaro Horiguchi
NTT Open Source Software Center

Attachment Content-Type Size
v48-0001-sequential-scan-for-dshash.patch text/x-patch 9.2 KB
v48-0002-Add-conditional-lock-feature-to-dshash.patch text/x-patch 6.2 KB
v48-0003-Make-archiver-process-an-auxiliary-process.patch text/x-patch 17.7 KB
v48-0004-Shared-memory-based-stats-collector.patch text/x-patch 308.4 KB
v48-0005-Doc-part-of-shared-memory-based-stats-collector.patch text/x-patch 19.7 KB
v48-0006-Remove-the-GUC-stats_temp_directory.patch text/x-patch 13.1 KB
v48-0007-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 Dmitry Dolgov 2021-03-05 08:19:00 Re: Keep notnullattrs in RelOptInfo (Was part of UniqueKey patch series)
Previous Message Julien Rouhaud 2021-03-05 08:14:13 Re: Add support for PROVE_FLAGS and PROVE_TESTS in MSVC scripts