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 1thsJu-007v2b-Aq for pgsql-hackers@arkaria.postgresql.org; Tue, 11 Feb 2025 15:37:07 +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 1thsJs-00C5Cz-Vk for pgsql-hackers@arkaria.postgresql.org; Tue, 11 Feb 2025 15:37:05 +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 1thsJr-00C5Cr-KL for pgsql-hackers@lists.postgresql.org; Tue, 11 Feb 2025 15:37:04 +0000 Received: from fout-b8-smtp.messagingengine.com ([202.12.124.151]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1thsJn-000FY9-1A for pgsql-hackers@postgresql.org; Tue, 11 Feb 2025 15:37:03 +0000 Received: from phl-compute-05.internal (phl-compute-05.phl.internal [10.202.2.45]) by mailfout.stl.internal (Postfix) with ESMTP id 807B11140130; Tue, 11 Feb 2025 10:36:57 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-05.internal (MEProxy); Tue, 11 Feb 2025 10:36:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; 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=1739288217; x=1739374617; bh=2fjvq9TrZL MXCJO7pD+L7UFpBGjMlQLhLTCFLUtA3Y4=; b=XXWw5pWk2syK6RBJFo57EKW4ZN Y/eg4JqTxL/mnt5ZSGjgGmW2H9EBAn6fJzr43mX5QT26b02yBw2OXrbEKm7cUraU 5FZ8lC9R16O8Oa7J133AZumjRKEpRuBzjiJ7EuHB1hTFp4lYCxFZ6mFzZ9yDJz48 lZHzbxk+ujPXiH8il0pXXmm6Tw22xqREXy2uZx+as2RbWqFagrMmCWHrAplMxF7H rlPywpohw/PFMiQl3yTqjzssLEESigX4ouLuiIyA41/8CAwB9b9oCeQdNljocGaX bii3IuGPjDF7jJarnM2oF+aZzqvBBYOk/NCdR2WmeGDeXzwFPiB+BLzjmh4Q== 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= 1739288217; x=1739374617; bh=2fjvq9TrZLMXCJO7pD+L7UFpBGjMlQLhLTC FLUtA3Y4=; b=0N9BqFzBuoRy6Njg17XltpAcHq4NBcmWh9PDFDZJI29YgkHov1V vrmE1cvpW6fO6sLAfzhIUGFpFvFdtCkF3pgAl+eZfcd6U0J9UvJEPlq6VBcNUI6l GjPpzouTAdVV8Dz1HgqK9HUlg/npUv0XworECQIJr3BL5/Bqw4QM/l//nCS0nKM6 IN21olUYVHFV6S6N/IhVdh3gqJFrbqwphNRkpZ3CxtKqwX78esUvmlomb/ueqRmU dTc+kEJZjtt95pu/9ctDQsvxn8tA9ULQ8G7Wk5/OSRyTgQdh4r4t2IAOTbs7PvNt vroohd8lxRJPgpbJtVUMy0J3+5XRDSavfow== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdegudefkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg hnthhsucdlqddutddtmdenucfjughrpeffhffvvefukfhfgggtuggjsehttdfstddttddv necuhfhrohhmpeetnhgurhgvshcuhfhrvghunhguuceorghnughrvghssegrnhgrrhgrii gvlhdruggvqeenucggtffrrghtthgvrhhnpeeffffgledvffegtdevlefgtdeggffhvdek gfegteeiveejkeetudelveejhfeugeenucevlhhushhtvghrufhiiigvpedtnecurfgrrh grmhepmhgrihhlfhhrohhmpegrnhgurhgvshesrghnrghrrgiivghlrdguvgdpnhgspghr tghpthhtohepiedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtoheprhhjuhhjuhduvd efsehgmhgrihhlrdgtohhmpdhrtghpthhtohepphhoshhtghhrvghssehjvghlthgvfhdr nhhlpdhrtghpthhtohepsghruhgtvgesmhhomhhjihgrnhdruhhspdhrtghpthhtohepth horhhikhhoshhhihgrsehoshhsrdhnthhtuggrthgrrdgtohhmpdhrtghpthhtohepphhg shhqlhdqhhgrtghkvghrshesphhoshhtghhrvghsqhhlrdhorhhgpdhrtghpthhtohepth hglhesshhsshdrphhghhdrphgrrdhush X-ME-Proxy: Feedback-ID: id4a34324:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 11 Feb 2025 10:36:56 -0500 (EST) Date: Tue, 11 Feb 2025 10:36:55 -0500 From: Andres Freund To: Jelte Fennema-Nio Cc: Tom Lane , torikoshia , pgsql-hackers@postgresql.org, rjuju123@gmail.com, Bruce Momjian Subject: Re: RFC: Allow EXPLAIN to Output Page Fault Information Message-ID: <3gz6ymrgnua75aviagsl4d4traoqxo2g2rzzykqa3yl4jyts3y@gj6lcc6aziil> References: <2035079.1739124342@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On 2025-02-11 09:59:43 +0100, Jelte Fennema-Nio wrote: > On Tue, 11 Feb 2025 at 00:53, Andres Freund wrote: > > > The thing is that you'd often get completely misleading stats. Some of the IO > > > will still be done by the backend itself, so there will be a non-zero > > > value. But it will be a significant undercount, because the asynchronously > > > executed IO won't be tracked (if worker mode is used). > > Yeah, makes sense. Like I said, I would be completely fine with not > showing these numbers at all/setting them to 0 for setups where we > cannot easily get useful numbers (and this bgworker AIO would be one > of those setups). Shrug. It means that it'll not work in what I hope will be the default mechanism before long. I just can't get excited for that. In all likelihood it'll result in bug reports that I'll then be on the hook to fix. > > Independent to of this, it's probably not good that we're tracking shared > > buffer hits after io combining, if I interpret this correctly... That looks to > > be an issue in master, not just the AIO branch. > > You mean that e.g. a combined IO for 20 blocks still sounds only as 1 > "shared read"? Yeah, that sounds like a bug. Yep. Greetings, Andres Freund