Re: Proposal: Progressive explain
Adrien Nayrat <adrien.nayrat@anayrat.info>
From: Adrien Nayrat <adrien.nayrat@anayrat.info>
To: Rafael Thofehrn Castro <rafaelthca@gmail.com>,
pgsql-hackers@postgresql.org
Date: 2025-01-14T21:55:15Z
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 →
-
Add some new hooks so extensions can add details to EXPLAIN.
- 4fd02bf7cf94 18.0 cited
On 12/30/24 2:18 AM, Rafael Thofehrn Castro wrote: > Hello community, > > CONTEXT: > > Back in October I presented the talk "Debugging active queries with > mid-flight instrumented explain plans" at PGConf EU 2024 > (recording: https://www.youtube.com/watch?v=6ahTb-7C05c) presenting > an experimental feature that enables visualization of in progress > EXPLAIN ANALYZE executions. Given the positive feedback and requests, > I am sending this patch with the feature, which I am calling Progressive > Explain. > > PROPOSAL: > > This proposal introduces a feature to print execution plans of active > queries in an in-memory shared hash object so that other sessions can > visualize them with a new view: pg_stat_progress_explain. Hello Thanks for your contribution! Such feature would be very useful. I did not look carefully about the implementation. I just wanted to let you know someone already posted a similar feature in this thread : https://www.postgresql.org/message-id/CADdR5ny_0dFwnD%2BsuBnV1Vz6NDKbFHeWoV1EDv9buhDCtc3aAA%40mail.gmail.com Maybe it could give you some ideas. Regards, -- Adrien NAYRAT