Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tVYFs-009U2D-Ud for pgsql-hackers@arkaria.postgresql.org; Wed, 08 Jan 2025 15:46:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tVYFr-002erm-Lq for pgsql-hackers@arkaria.postgresql.org; Wed, 08 Jan 2025 15:45:59 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tVYFr-002erQ-CH for pgsql-hackers@lists.postgresql.org; Wed, 08 Jan 2025 15:45:59 +0000 Received: from oss.nttdata.com ([49.212.34.109]) by magus.postgresql.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tVYFm-000Yeg-3A for pgsql-hackers@postgresql.org; Wed, 08 Jan 2025 15:45:57 +0000 Received: from [192.168.11.6] (p4062048-ipxg13601funabasi.chiba.ocn.ne.jp [153.216.203.48]) by oss.nttdata.com (Postfix) with ESMTPSA id AD751618D5; Thu, 9 Jan 2025 00:45:49 +0900 (JST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at oss.nttdata.com Message-ID: Date: Thu, 9 Jan 2025 00:45:48 +0900 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Enhancing Memory Context Statistics Reporting To: Rahila Syed Cc: PostgreSQL-development References: <202411141148.vqxmwtn2ln25@alvherre.pgsql> <7d4db5cf-8d72-4ee1-8f2e-f88ef9615f27@vondra.me> <637b3ae3-b9eb-4d83-a942-5f7483911ea4@vondra.me> <29ced66e28ec696d1ac29747bd901df2@oss.nttdata.com> Content-Language: en-US From: Fujii Masao In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2025/01/08 21:03, Rahila Syed wrote: > I have not been able to reproduce this issue. Could you please clarify which process you ran > |pg_get_process_memory_context()| on, with the interval of 0.1? I used the following query for testing: =# SELECT count(*) FROM pg_stat_activity, pg_get_process_memory_contexts(pid, false) WHERE pid <> pg_backend_pid(); =# \watch 0.1 > Was it a backend process > created by |make installcheck-world|, or some other process? Yes, the target backends were from make installcheck-world. No other workloads were running. Regards, -- Fujii Masao Advanced Computing Technology Center Research and Development Headquarters NTT DATA CORPORATION