Re: shared-memory based stats collector

From: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>
To:
Cc: thomas(dot)munro(at)gmail(dot)com, tomas(dot)vondra(at)2ndquadrant(dot)com, andres(at)anarazel(dot)de, a(dot)zakirov(at)postgrespro(dot)ru, ah(at)cybertec(dot)at, magnus(at)hagander(dot)net, robertmhaas(at)gmail(dot)com, tgl(at)sss(dot)pgh(dot)pa(dot)us, pgsql-hackers(at)postgresql(dot)org
Subject: Re: shared-memory based stats collector
Date: 2019-09-10 08:58:58
Message-ID: 20190910.175858.267726221.horikyota.ntt@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

At Tue, 3 Sep 2019 18:28:05 -0400, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> wrote in <20190903222805(dot)GA13932(at)alvherre(dot)pgsql>
> > Found a bug in initialization. StatsShememInit() was placed at a
> > wrong place and stats code on child processes accessed
> > uninitialized pointer. It is a leftover from the previous shape
> > where dsm was activated on postmaster.
>
> This doesn't apply anymore. Can you please rebase?

Thanks! I forgot to post rebased version after doing. Here it is.

- (Re)Rebased to the current master.
- Passed all tests for me.

regards.

--
Kyotaro Horiguchi
NTT Open Source Software Center

Attachment Content-Type Size
v22-0001-sequential-scan-for-dshash.patch text/x-patch 10.6 KB
v22-0002-Add-conditional-lock-feature-to-dshash.patch text/x-patch 5.1 KB
v22-0003-Make-archiver-process-an-auxiliary-process.patch text/x-patch 11.9 KB
v22-0004-Shared-memory-based-stats-collector.patch text/x-patch 216.0 KB
v22-0005-Remove-the-GUC-stats_temp_directory.patch text/x-patch 10.6 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dagfinn Ilmari Mannsåker 2019-09-10 10:08:31 Re: Does PostgreSQL support debian Linux on Arm CPU Platform?
Previous Message Kyotaro Horiguchi 2019-09-10 08:40:54 Re: Remove page-read callback from XLogReaderState.