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 1vHsSp-004RNR-Hn for pgsql-hackers@arkaria.postgresql.org; Sat, 08 Nov 2025 23:35:23 +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 1vHsRq-003Qwv-5U for pgsql-hackers@arkaria.postgresql.org; Sat, 08 Nov 2025 23:34:22 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1vHsRp-003Qwm-8A for pgsql-hackers@lists.postgresql.org; Sat, 08 Nov 2025 23:34:21 +0000 Received: from fhigh-a7-smtp.messagingengine.com ([103.168.172.158]) by makus.postgresql.org with smtp (Exim 4.96) (envelope-from ) id 1vHsRn-0068Gw-10 for pgsql-hackers@lists.postgresql.org; Sat, 08 Nov 2025 23:34:20 +0000 Received: from phl-compute-05.internal (phl-compute-05.internal [10.202.2.45]) by mailfhigh.phl.internal (Postfix) with ESMTP id 60B5D140017D; Sat, 8 Nov 2025 18:34:18 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-05.internal (MEProxy); Sat, 08 Nov 2025 18:34:18 -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=1762644858; x=1762731258; bh=ZEFpEuAqpU VhF8rI2p1CUBGejLjSqaUN4nkLSRMFSjg=; b=XQzmURGXvEr1uHNCxF+lExwnpS 7tFcLPTPMtKYaC8tzMzMKkHHEUPiwkP1RMhgCVPulMqbjdrsRvZViDdMRkqVvoyn CSK3OExi9EFGafHTUk6Z7P5Dw3uV2uvqFH+lkAOwKb7L1RzNvuD9P659m6bCKBAH ULIDD2sURpDrhf7n5g+OrJgKXWhnmw6g8Cu5F+5L8Xe8Bwpv5TlvJ0uBvdvYp7h1 my106ssX0t14m72XQbsnGGuvmKm0vKBqGDHLEMzlST0DD4v7UDA0vjWQRn+sbYtn 4twWQaArf/ctrSSK4y8cAuIQyxOPuxKYLIr3wcqdikQjOTIQm09LSl6D1cTQ== 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= 1762644858; x=1762731258; bh=ZEFpEuAqpUVhF8rI2p1CUBGejLjSqaUN4nk LSRMFSjg=; b=WXOrW20xDR7O1mGgsbr0+KX/sjsqBuKWS920Gla5IgZgDhpIeAh IhrwlcY9e0g7aLnd/a4XKPiy9zwPRvJu5sH5krzo2dFRZV2+5pjw9lrKHHFOvnXv 3+SiDYjKB6BpJ9Tw0aZL1233f1FAAJzuiOzT2P2N7F7hW+0QX2uAHcfUe4Iqu7Rh /LIgfubtsFvutvaDrAK0pSjpJ1mPVrzQ9OaOmoL8IfJ4sM7UxGYAL55t5JwNi4dQ jIrHwhY/KEzwa3r5EG6+B/hdCWB7O6s7dtoeqFE52fJUkoKiJk96j5rosjY9TbYF TfncuDdoSiS08lTtkgsVo9nbSn1SSUVR9yg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggdduleefkeejucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnegfrh hlucfvnfffucdljedtmdenucfjughrpeffhffvvefukfhfgggtuggjsehgtderredttddv necuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesphgrqh huihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepteelieefudffhffhtdetleeggeeg fffhkeeuveetiefgudduvedutefggeeivdejnecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiihiidp nhgspghrtghpthhtohepgedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepsggvrh htrhgrnhguughrohhuvhhothdrphhgsehgmhgrihhlrdgtohhmpdhrtghpthhtoheprhgv shhhkhgvkhhirhhilhhlsehgmhgrihhlrdgtohhmpdhrtghpthhtoheprhhosggvrhhtmh hhrggrshesghhmrghilhdrtghomhdprhgtphhtthhopehpghhsqhhlqdhhrggtkhgvrhhs sehlihhsthhsrdhpohhsthhgrhgvshhqlhdrohhrgh X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 8 Nov 2025 18:34:16 -0500 (EST) Date: Sun, 9 Nov 2025 08:33:54 +0900 From: Michael Paquier To: Bertrand Drouvot Cc: Kirill Reshke , Robert Haas , pgsql-hackers@lists.postgresql.org Subject: Re: relfilenode statistics Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="RRN2RoCcDjmpnwv/" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --RRN2RoCcDjmpnwv/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 07, 2025 at 11:28:27AM +0000, Bertrand Drouvot wrote: > While there are existing rewrite tests, the stats behavior during rewrites > doesn't have a good coverage. This patch adds some tests to record some s= tats > after different rewrite scenarios. >=20 > That way, we'll be able to test that the stats are still the ones we > expect after rewrites. Note that it generates a new stats_1.out (which is= quite > large), so we may want to move those new tests to "isolation" instead. Looking at this part of the patch set for now, not looked at the rest yet. This new stats_1.out is 2k lines long, introduced for the tests related to rewrites as an effect of 2PC. It seems to me that a split=20 into a new stats_rewrite would be justified for this case, to reduce the output duplication. -- Michael --RRN2RoCcDjmpnwv/ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmkP02IACgkQnvQgOdby QH0ILg//ah1CUpfEccbomrb52UPJ6ohgcJtKUu4Idd8ZiuNyT64cvYjduyyxUuZ9 2g3wPcLKTKUcHb/PFIbpN9OmZABksJLpPOV0uOme/SnJOKfTM8Od0e6hge1wY8Wi 5FbNrkv8ZN4wZ0S4LWrgFbTnJWXCZIFfDacZmQkLML5TMT4+l0XXTXz+rGw3TQD3 mvAr76JkdUsz7QdjDDxCIFLH0u244XASJfEipX0Xo+xazBg0+Hgw+7WvMu1Fp8il 4MrLuk9EOJjPsGx7rXvvddHHsDIpgepBJLt1IRGdDMOdZ3XzmFQYg4a9jkY2m+cd tmpincrO+3JimsFefh132qJmbCxJgaZAtw/2D0gQlX+52zIM7KFPkVL1aWmzLNZz ZD97GsXmNPvmpE1/5ox0+QE6CtBCBs3sTBzco7OpN4rLJVsU0ap8KGSmHIExMyAv kHlFKAAGftlZCj+ZJ7uK8IGhX93vEnR729op+h5dd0gkHiq7b57YEqAiK6cajbrP htXDTd7JL9UoiDJRH1f/qONEKCGd9IJpq0ZYVzWCFVFNvKNFeNGgN9aJoa/XdyuV eVKC2Uh8sp0xfQxwXo+7gDEFSbj2+AXCSOm63wuiW2vBr317o0m99SAvwdXpeviV PIKnim0OpDlMrepfSrO+qd3Zw8w5sJpVxN+NkJSU+0ySK6U8SiA= =U45B -----END PGP SIGNATURE----- --RRN2RoCcDjmpnwv/--