Re: shared-memory based stats collector

From: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>
To: thomas(dot)munro(at)gmail(dot)com
Cc: tomas(dot)vondra(at)2ndquadrant(dot)com, andres(at)anarazel(dot)de, a(dot)zakirov(at)postgrespro(dot)ru, alvherre(at)2ndquadrant(dot)com, 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-07-11 07:40:59
Message-ID: 20190711.164059.130487447.horikyota.ntt@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello. This is v21 of the patch.

> CF-bot warned that it doesn't work on Windows. I'm experiencing
> an very painful time to wait for tortoise git is walking slowly
> as its name suggests. It would be fixed in the next version.

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.

regards.

--
Kyotaro Horiguchi
NTT Open Source Software Center

Attachment Content-Type Size
v21-0001-sequential-scan-for-dshash.patch text/x-patch 10.6 KB
v21-0002-Add-conditional-lock-feature-to-dshash.patch text/x-patch 5.0 KB
v21-0003-Make-archiver-process-an-auxiliary-process.patch text/x-patch 11.9 KB
v21-0004-Shared-memory-based-stats-collector.patch text/x-patch 216.0 KB
v21-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 Floris Van Nee 2019-07-11 07:41:31 Re: Index Skip Scan
Previous Message Surafel Temesgen 2019-07-11 06:53:15 Re: FETCH FIRST clause PERCENT option