pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tatsuo Ishii <ishii@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add memory/disk usage for more executor nodes.
Date: Mon, 23 Sep 2024 07:51:26 +0000
Message-ID: <E1ssdqv-000Vjn-SY@gemulon.postgresql.org> (raw)

Add memory/disk usage for more executor nodes.

This commit is similar to 95d6e9af07, expanding the idea to CTE scan,
table function scan and recursive union scan nodes so that the maximum
tuplestore memory or disk usage is shown with EXPLAIN ANALYZE command.

Also adjust show_storage_info() so that it accepts storage type and
storage size arguments instead of Tuplestorestate. This allows the
node types to share the formatting code using show_storage_info(). Due
to this show_material_info() and show_windowagg_info() are also
modified.

Reviewed-by: David Rowley
Discussion: https://postgr.es/m/20240918.211246.1127161704188186085.ishii%40postgresql.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/40708acd65c112149493d7159ca5c5a9391c9d35

Modified Files
--------------
src/backend/commands/explain.c | 107 +++++++++++++++++++++++++++++++++++++----
1 file changed, 97 insertions(+), 10 deletions(-)



Message-ID: <E1ssdqv-000Vjn-SY@gemulon.postgresql.org>
Permalink:  ../E1ssdqv-000Vjn-SY@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ssdqv-000Vjn-SY@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: ishii@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Add memory/disk usage for more executor nodes.
  In-Reply-To: <E1ssdqv-000Vjn-SY@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