Re: RFC: Allow EXPLAIN to Output Page Fault Information
Jelte Fennema-Nio <postgres@jeltef.nl>
From: Jelte Fennema-Nio <postgres@jeltef.nl>
To: Andres Freund <andres@anarazel.de>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, torikoshia <torikoshia@oss.nttdata.com>, pgsql-hackers@postgresql.org, rjuju123@gmail.com, Bruce Momjian <bruce@momjian.us>
Date: 2025-02-11T08:59:43Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Avoid leaking system path from pg_available_extensions
- db5ed03217b9 19 (unreleased) cited
-
Enable BUFFERS with EXPLAIN ANALYZE by default
- c2a4078ebad7 18.0 cited
On Tue, 11 Feb 2025 at 00:53, Andres Freund <andres@anarazel.de> wrote: > > I mostly meant worker based AIO, yes. I haven't checked how accurately these > > are kept for io_uring. I would hope they are... > > It does look like it is tracked. nice! > > 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). > 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.