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 1tFTNO-00DBtM-Go for pgsql-hackers@arkaria.postgresql.org; Mon, 25 Nov 2024 07:19:18 +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 1tFTNN-00Cv74-1u for pgsql-hackers@arkaria.postgresql.org; Mon, 25 Nov 2024 07:19:17 +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 1tFTNM-00Cv6t-NA for pgsql-hackers@lists.postgresql.org; Mon, 25 Nov 2024 07:19:16 +0000 Received: from fhigh-a8-smtp.messagingengine.com ([103.168.172.159]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tFTNK-003ehL-9x for pgsql-hackers@lists.postgresql.org; Mon, 25 Nov 2024 07:19:15 +0000 Received: from phl-compute-11.internal (phl-compute-11.phl.internal [10.202.2.51]) by mailfhigh.phl.internal (Postfix) with ESMTP id 357BE1140190; Mon, 25 Nov 2024 02:19:13 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-11.internal (MEProxy); Mon, 25 Nov 2024 02:19:13 -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=fm1; t=1732519153; x=1732605553; bh=NosOxJsq7d 2iMTvWRAPgSHtuVJ8A1Ii8+j2o5XVcgaE=; b=E9OQe7vjN+rFi0Y62LL3zpbfpH cUAXDO92NCcKbNrrSbIVB1gsLak+EN5du1/k/OjAOF629g8lL1F9YM5LpSImkm6t VeV180uVLamCX5QYMt1B25DJCAt2AQP3KPQzZGAuNexQ1gu9/GkFC/eqqXuAu3ol ZeHDj+SvAIfkVUD8xOgn3EUqlLdrFUvrVO8V4E5X7PX1OE+1yt9PzKhhi3KdO5Ra mSizxMHQ9osGMAhAmefnUgAuzgPmmViQwug4PuPa+E1atIub+S8B4lBOpfiVX+pp s82OVB4Je/vZ4ScUrvSw3YVI9rzbFSQ3vE4rdjFIOyPxUoo6fpOuKfpZAvUg== 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=fm1; t= 1732519153; x=1732605553; bh=NosOxJsq7d2iMTvWRAPgSHtuVJ8A1Ii8+j2 o5XVcgaE=; b=EHxFCApjN1E7paMsCv+5O+zkLMT/pIojSEcU1gUBzBBhIyQ0er+ Rkpj+XxIbjUz27ZuAW0bgGoXee4gKCg6+kGNUXw1k9u3gg7j5nHz0pRnDpp8iw3R 7jABB8qstc4qERivuEeitq188SfaH3KIeSI94ie+8+GZ/GpSCFH8ve/21/dfl8L3 2S4MA2kW1oT7gLtg6HE+s+EGwO+SuuRJ0oRLsgnjsbdqt94XLTa1rflSG4MOzUMg 9j9MJ+V/b1BxEMP14fcp+6MYPFAFTxSGTR+HP2c8tppe7DufoASQc+guDEwcDk22 vJgL35roc7jngqvc1v62zeDCEESA54d2jLg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrgeeggddutdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnegfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvvefukfhf gggtuggjsehgtderredttddvnecuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruc eomhhitghhrggvlhesphgrqhhuihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepteel ieefudffhffhtdetleeggeegfffhkeeuveetiefgudduvedutefggeeivdejnecuvehluh hsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhes phgrqhhuihgvrhdrgiihiidpnhgspghrtghpthhtohephedpmhhouggvpehsmhhtphhouh htpdhrtghpthhtohepsggvrhhtrhgrnhguughrohhuvhhothdrphhgsehgmhgrihhlrdgt ohhmpdhrtghpthhtohepsgihrghvuhiikedusehgmhgrihhlrdgtohhmpdhrtghpthhtoh eprghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrghdprhgtphhtthhopehhohhr ihhkhihothgrrdhnthhtsehgmhgrihhlrdgtohhmpdhrtghpthhtohepphhgshhqlhdqhh grtghkvghrsheslhhishhtshdrphhoshhtghhrvghsqhhlrdhorhhg X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 25 Nov 2024 02:19:10 -0500 (EST) Date: Mon, 25 Nov 2024 16:18:54 +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="A2RRQqM5Q0zE6xmF" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --A2RRQqM5Q0zE6xmF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Nov 25, 2024 at 07:12:56AM +0000, Bertrand Drouvot wrote: > Not sure here, could custom stats start incrementing before the database system > is ready to accept connections? In theory, that could be possible. Like pg_stat_io currently, I am ready to assume that it likely won't matter much. > The only cons that I can see is that we will not be able to merge the flush cb > but I don't think that's a blocker (the flush are done in shared memory so the > impact on performance should not be that much of an issue). The backend and I/O stats could begin diverging as a result of a new implementation detail, and the performance of the flushes don't worry me knowing at which frequency they happen on a live system. -- Michael --A2RRQqM5Q0zE6xmF Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmdEJN4ACgkQnvQgOdby QH0f3A/+I22Cinex+MW/EVpE7/ydpDr8n4tn4ANGFWjFJ0tjfxFP4Tddwdb4M0B2 bq+K+ikXBvFJHKhLIQQyPoHl0Dhy4m0GLwGAoYwM3qSxSaaI8uSgh/2Ed2I8veau CtFjOuWQaAIrwK0MibqlYT+zJ76sCkSwK1dwLRBOL+KIwdgJ/5xEXjqpzCfgqK+H Zf/oSdbUEEJBy6VF0hxJ0V+1kkW25G0ztqvXclwklAuNQWe2SPnNdU/mb4UeP7/x FVYoWQImWZknr/a24bo+HoL8ewphHfIxL3Wi7pKqodrfwiW16KqS/Pf5g0Q5jmNB OFEBYzgqmnUw+CYg416tzyYZA4ftFF85YlPCufe9ojpMNxy2X42FxbAUxk8RSlsM IQXc0jUSN6o6HtfPhpBqLD9UsIzE7gEUK7XTnfxwgoUkk06S9SUTQvMl5Om09xS9 4lxQGeA3g7W7iKIcqBnKI4tu/OC7oo1LFDqqVO3HnVqCoSAdo29PbAAxi4uzBqPJ ZECxpzEmSyGWod+6Zg/Vt+JemWVxVEVht48GOx+AmOBojE/HMCdXq2oEIufVx26/ fyneLisp5qB2A2OXUDGKYT/yF3nSzI/gtxXZ8Q3541prxD0fDBkv2BIeqM5EnxqI BKmXL7psHmxjxiFbzpNX6UtCFF4of/g5l9a+aMbbE8uVrGKtFKc= =gAq0 -----END PGP SIGNATURE----- --A2RRQqM5Q0zE6xmF--