Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1jBVf7-0000g9-4r for pgsql-hackers@arkaria.postgresql.org; Tue, 10 Mar 2020 03:34:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1jBVf5-0001pt-H7 for pgsql-hackers@arkaria.postgresql.org; Tue, 10 Mar 2020 03:34:31 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1jBVf3-0001pg-Dh for pgsql-hackers@lists.postgresql.org; Tue, 10 Mar 2020 03:34:31 +0000 Received: from new3-smtp.messagingengine.com ([66.111.4.229]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jBVez-0003OY-9q for pgsql-hackers@postgresql.org; Tue, 10 Mar 2020 03:34:28 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.nyi.internal (Postfix) with ESMTP id C4A793EB3; Mon, 9 Mar 2020 23:34:23 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Mon, 09 Mar 2020 23:34:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=EuymaGlMmMvPNfGSs2ylGhiN9HT O8oe7EqVcdmRfmr8=; b=aOTvAnSV4eKEv84Fcgs+BQNi6OH9wj1UPtHUHCPyxKT CSFZAO1RyVvqrli7os4NN3AlvTVIbXeStM4XpuogDX7y+42fqyX/OrNk8cQzConi IWJYbGuxuu86euJrXW6MVplQfRvR8J8txDT5i0Foe+J2mkTC4oF2uUybOXN1oGaQ cVNgT403xZ5tKUPJf1hdrG1cuwmyKwPbKGnMfNAjwvZ8z+ZULBe/rV1xhD7Qghds NSIciC/PvfavNTIXIW/NWMtl2lwJoyuYCeGGfN1kUFXJeUN2Hbxk8er50RdzEpz9 gfw02PDG8dTgLtR8ZlpphxHhjDsBPEL4mSZKEzlUjwQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=EuymaG lMmMvPNfGSs2ylGhiN9HTO8oe7EqVcdmRfmr8=; b=Mfw1WNchM5wUv31RKomnnH Ln6TdRL3d5f4dxOQ/8eHYdPnhiAuF3los51l8x5E+wWYuBpTI4Zra3L3Yz64fnSM BtlL5ZQp/JSvcCKJQe9iMO9KIOs8DXcqcB8fn477dd5TQuMPrZJaCqqlrewwSZw4 fFZfwG0KM6eUSlEJxF935qpbb6vg2+w+02p4GpWe2mNjinwWNEcAkkFKKeB3+wVS FzDbwTjQfwlR4IZNFuyRiVBV6+9n70YupzgIaM/U0KxvL2nHj+Uk6u0Lo5SK3jug vklYTXwEknUHopEHd8/AqWjNhc5B9dxPB2A+wAle/hv3fugykyua+HI2Mj9I5PGw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrudduledgiedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggujgesthdtre dttddtvdenucfhrhhomheptehnughrvghsucfhrhgvuhhnugcuoegrnhgurhgvshesrghn rghrrgiivghlrdguvgeqnecukfhppeeijedrudeitddrvddujedrvdehtdenucevlhhush htvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrnhgurhgvshesrghn rghrrgiivghlrdguvg X-ME-Proxy: Received: from intern.anarazel.de (c-67-160-217-250.hsd1.ca.comcast.net [67.160.217.250]) by mail.messagingengine.com (Postfix) with ESMTPA id 36CA33280063; Mon, 9 Mar 2020 23:34:22 -0400 (EDT) Date: Mon, 9 Mar 2020 20:34:20 -0700 From: Andres Freund To: Kyotaro Horiguchi Cc: tgl@sss.pgh.pa.us, alvherre@2ndquadrant.com, michael@paquier.xyz, thomas.munro@gmail.com, tomas.vondra@2ndquadrant.com, a.zakirov@postgrespro.ru, ah@cybertec.at, magnus@hagander.net, robertmhaas@gmail.com, pgsql-hackers@postgresql.org Subject: Re: shared-memory based stats collector Message-ID: <20200310033420.g4ev7eng4aoh3rss@alap3.anarazel.de> References: <20200309184754.yvrgzqpzs3iynszq@alap3.anarazel.de> <8668.1583780663@sss.pgh.pa.us> <20200309192539.ulqo26ydld5lkpip@alap3.anarazel.de> <20200310.122725.1482409768204993835.horikyota.ntt@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200310.122725.1482409768204993835.horikyota.ntt@gmail.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2020-03-10 12:27:25 +0900, Kyotaro Horiguchi wrote: > That's true, but I have the same concern with Tom. The archive bacame > too-tightly linked with other processes than actual relation. What's the problem here? We have a number of helper processes (checkpointer, bgwriter) that are attached to shared memory, and it's not a problem. > We may need the second static shared memory segment apart from the > current one. That seems absurd to me. Solving a non-problem by introducing complex new infrastructure.