Re: Add parallel columns for pg_stat_statements

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Guillaume Lelarge <guillaume@lelarge.info>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2024-11-07T03:19:31Z
Lists: pgsql-hackers
On Wed, Oct 09, 2024 at 08:32:52AM +0900, Michael Paquier wrote:
> Okay, applied 0001 and 0002 then after a second lookup.  I'll spend
> some more time thinking about 0003 and the other threads.

Considered 0003, and I'm still not sure that this is something that
is really required based on the correlation that are now possible with
the number of times a query has been called and the number of
planned/launched workers.

So I am marking the entry as committed.  Let's see about the threads
for the addition of this data at table-level and at the
database-level.
--
Michael

Commits

  1. pg_stat_statements: Add columns to track parallel worker activity

  2. Introduce two fields in EState to track parallel worker activity