Re: RFC: Allow EXPLAIN to Output Page Fault Information
torikoshia <torikoshia@oss.nttdata.com>
From: torikoshia <torikoshia@oss.nttdata.com>
To: Jelte Fennema-Nio <postgres@jeltef.nl>
Cc: andres@anarazel.de, tgl@sss.pgh.pa.us, pgsql-hackers@postgresql.org,
rjuju123@gmail.com, Bruce Momjian <bruce@momjian.us>
Date: 2025-05-08T13:51:38Z
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
Attachments
- v5-0001-Add-storage-I-O-tracking-to-BUFFERS-option.patch (text/x-diff) patch v5-0001
On 2025-04-11 22:18, torikoshia wrote: > On 2025-03-25 10:27, torikoshia wrote: >> On 2025-03-22 20:23, Jelte Fennema-Nio wrote: >> >>> On Wed, 19 Mar 2025 at 14:15, torikoshia <torikoshia@oss.nttdata.com> >>> wrote: >>>> BTW based on your discussion, I thought this patch could not be >>>> merged >>>> anytime soon. Does that align with your understanding? >>> >>> Yeah, that aligns with my understanding. I don't think it's realistic >>> to get this merged before the code freeze, but I think both of the >>> below issues could be resolved. >>> >>>> - With bgworker-based AIO, this patch could mislead users into >>>> underestimating the actual storage I/O load, which is undesirable. >>> >>> To resolve this, I think the patch would need to change to not report >>> anything if bgworker-based AIO is used. >> >> Agreed. >> I feel the new GUC io_method can be used to determine whether >> bgworker-based AIO is being used. > > I took this approach and when io_method=worker, no additional output > is shown in the attached patch. Rebased the patch. -- Regards, -- Atsushi Torikoshi Seconded from NTT DATA GROUP CORPORATION to SRA OSS K.K.