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 1t8qk0-006JmO-FT for pgsql-hackers@arkaria.postgresql.org; Thu, 07 Nov 2024 00:51:15 +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 1t8qjx-00AQYu-2p for pgsql-hackers@arkaria.postgresql.org; Thu, 07 Nov 2024 00:51:13 +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 1t8qjw-00AQYm-PW for pgsql-hackers@lists.postgresql.org; Thu, 07 Nov 2024 00:51:13 +0000 Received: from fhigh-a3-smtp.messagingengine.com ([103.168.172.154]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t8qjt-000aws-Np for pgsql-hackers@lists.postgresql.org; Thu, 07 Nov 2024 00:51:12 +0000 Received: from phl-compute-02.internal (phl-compute-02.phl.internal [10.202.2.42]) by mailfhigh.phl.internal (Postfix) with ESMTP id 4A39D1140163; Wed, 6 Nov 2024 19:51:09 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-02.internal (MEProxy); Wed, 06 Nov 2024 19:51:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1730940669; x=1731027069; bh=Fmpeib/gR2 HlJvLV780EVrNNsYT0Bpr5gyHMpGPFyac=; b=PcsnMKlyxMHsazB9TQ2CPxaXci pktoKiqQTAJlpCZpKvKMkTRFOMnLPXTn5nRdg5zkFfuIwFpJA4Cpou2Qajt57vAc jW3c6U3b7/Q/9ZDZ8z7BWJ0cCQcTytaOYlMm/rgI1YCC+Hvx6TfNNhNiHaRQL/zh za/9GXUMdsX58rqy2NH+muP1KcNefywxJzLLl2WKKnE3lBBLbY8a0+r2I77fYed7 06O5AXtI5EOx/4tzc03/kkc2aMh6+ZXk7bBkZVP/vHvmCHJASLSHFzh/megiDMAc 5ZHhG6ol2PrgExU+MOH3e7V5EMNzVVeChAIScK8ugaCIpCcKotWdN0G/HABg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1730940669; x=1731027069; bh=Fmpeib/gR2HlJvLV780EVrNNsYT0Bpr5gyH MpGPFyac=; b=MteFJWxW89iWG+cmIMLrVgioMipIEnco3BtZ5kh7w9G4Wps5KNh JdBAa6DIoljcZ4w+fGEedqrpu+wDj8rnT7BZQJzbT2QOZKJ8sNHdXNkeANua27jz SkBdzcEbTUHYm7aizgjfcUL7zLsGTIxCTZvcPJXgS0WF/kEXcwOk+aUIPhpJnYr+ DbiWMpUtGqq0aYm7pDOI/WBFnbUHG/Uf0LNfjJErlmZ0isFgWTr4z6hqSfGY6bgx Q8M3c1oBVkvk4nOFlns2rRBPjEIwGEsxNtUpzUIzcOLTKktJBWndQ6SeiQMZ1Uft WUicQggJqgAwLToRCc5RszXPIp3v2GjnS/Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrtdefgddvjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnth hsucdlqddutddtmdenfghrlhcuvffnffculdejtddmnecujfgurhepfffhvfevuffkfhgg tggujgesghdtreertddtvdenucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoe hmihgthhgrvghlsehprghquhhivghrrdighiiiqeenucggtffrrghtthgvrhhnpeetleei fedufffhhfdtteelgeeggeffhfekueevteeigfduudevudetgfegiedvjeenucevlhhush htvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehp rghquhhivghrrdighiiipdhnsggprhgtphhtthhopeehpdhmohguvgepshhmthhpohhuth dprhgtphhtthhopegsvghrthhrrghnuggurhhouhhvohhtrdhpghesghhmrghilhdrtgho mhdprhgtphhtthhopegshigrvhhuiiekudesghhmrghilhdrtghomhdprhgtphhtthhope grlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhgpdhrtghpthhtohephhhorhhi khihohhtrgdrnhhtthesghhmrghilhdrtghomhdprhgtphhtthhopehpghhsqhhlqdhhrg gtkhgvrhhssehlihhsthhsrdhpohhsthhgrhgvshhqlhdrohhrgh X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 6 Nov 2024 19:51:07 -0500 (EST) Date: Thu, 7 Nov 2024 09:50:59 +0900 From: Michael Paquier To: Bertrand Drouvot Cc: Nazir Bilal Yavuz , Alvaro Herrera , Kyotaro Horiguchi , pgsql-hackers@lists.postgresql.org Subject: Re: per backend I/O statistics Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="x/lBELt2HTJpvIr2" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --x/lBELt2HTJpvIr2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Nov 06, 2024 at 01:51:02PM +0000, Bertrand Drouvot wrote: > That's not needed, the patch I'm working on stores the proc number in the > objid field of the key. Relying on the procnumber for the object ID gets a +1 here. That provides an automatic cap on the maximum number of entries that can exist at once for this new stats kind. -- Michael --x/lBELt2HTJpvIr2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmcsDvMACgkQnvQgOdby QH1wEQ/+KMHeCrRMHiOVaVlq/asqg9OCjabh9Zh1l84B6fHmIncULr+E4jhW80fU ZOr9kNKRsXoA4Hrls/qdFrdWA5n9uCc/YsiJNL/5bPKVlEX+zeejRX6PCu0lDWGM Z4BguHBqqgPYyckQ5c0YaqXEVrT9tjLczHde1yrLf2gf3ESzUJhGuIPNYfdQhbBV ZFfZbYWH56UpmL4rY2lGO24YwctGxuXjlIJr9Y1bA12fKto+50lwL1oDozhYOLkL RY1+/Vv5H3I94v3Q+WAD9MeR6cKxT0vzNkSgiSNq74bd8XUoClZK+99okazhh0bH S1C7/gbkvfgA2jV2SCNoZalw5vxGoYsx5d1yNqMEIRtPWXm3ur+2fCS6Y5A7Y0M+ 8ewFTVECQBLsEBe0QeOMDR/ayg42cB1RyCjCZRIKmFMuG0jQIj+uKgKp24MqNCPF DfQkgqI6AxnIeMVLNEFOQkxnJaTqxpAMe+Pih05DPxyGw/w3M4ZWI9DjRES0gtL3 1g9ARJP/C+XJBv6aSMOMm1bgPIeGnrIk4u2Uv/KcE9GQajd7sfebf+q/Ocd4eNum 3sxdBatsaeM7ffPGEs19epehqKUOT/GAyp9Feay6/aWB5hz+RElObyHQ7o41fEYO rRGdUT3bF49NToloQ+4tlHBWZm8X3MBougxMzyf8C64z7YUC/y8= =ULDF -----END PGP SIGNATURE----- --x/lBELt2HTJpvIr2--