pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Introduce two fields in EState to track parallel worker activity
Date: Tue, 08 Oct 2024 23:14:51 +0000
Message-ID: <E1syJPn-002lRz-02@gemulon.postgresql.org> (raw)

Introduce two fields in EState to track parallel worker activity

These fields can be set by executor nodes to record how many parallel
workers were planned to be launched and how many of them have been
actually launched within the number initially planned.  This data is
able to give an approximation of the parallel worker draught a system
is facing, making easier the tuning of related configuration parameters.

These fields will be used by some follow-up patches to populate other
parts of the system with their data.

Author: Guillaume Lelarge, Benoit Lobréau
Discussion: https://postgr.es/m/783bc7f7-659a-42fa-99dd-ee0565644e25@dalibo.com
Discussion: https://postgr.es/m/CAECtzeWtTGOK0UgKXdDGpfTVSa5bd_VbUt6K6xn8P7X+_dZqKw@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/de3a2ea3b264a5625cda6d8968f75e9bfb4dbdcb

Modified Files
--------------
src/backend/executor/execUtils.c       | 2 ++
src/backend/executor/nodeGather.c      | 7 +++++++
src/backend/executor/nodeGatherMerge.c | 7 +++++++
src/include/nodes/execnodes.h          | 5 +++++
4 files changed, 21 insertions(+)



Message-ID: <E1syJPn-002lRz-02@gemulon.postgresql.org>
Permalink:  ../E1syJPn-002lRz-02@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1syJPn-002lRz-02@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Introduce two fields in EState to track parallel worker activity
  In-Reply-To: <E1syJPn-002lRz-02@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox