pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Invent SERIALIZE option for EXPLAIN.
Date: Wed, 03 Apr 2024 21:42:09 +0000
Message-ID: <E1rs8Mz-000McE-84@gemulon.postgresql.org> (raw)

Invent SERIALIZE option for EXPLAIN.

EXPLAIN (ANALYZE, SERIALIZE) allows collection of statistics about
the volume of data emitted by a query, as well as the time taken
to convert the data to the on-the-wire format.  Previously there
was no way to investigate this without actually sending the data
to the client, in which case network transmission costs might
swamp what you wanted to see.  In particular this feature allows
investigating the costs of de-TOASTing compressed or out-of-line
data during formatting.

Stepan Rutz and Matthias van de Meent,
reviewed by Tomas Vondra and myself

Discussion: https://postgr.es/m/ca0adb0e-fa4e-c37e-1cd7-91170b18cae1@gmx.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/06286709ee0637ec7376329a5aa026b7682dcfe2

Modified Files
--------------
doc/src/sgml/perform.sgml             |  24 +-
doc/src/sgml/ref/explain.sgml         |  29 +++
src/backend/access/common/printtup.c  |   5 +-
src/backend/commands/explain.c        | 411 +++++++++++++++++++++++++++++++++-
src/backend/tcop/dest.c               |   7 +
src/include/commands/explain.h        |  10 +
src/include/tcop/dest.h               |   1 +
src/test/regress/expected/explain.out |  54 ++++-
src/test/regress/sql/explain.sql      |   9 +-
src/tools/pgindent/typedefs.list      |   3 +
10 files changed, 542 insertions(+), 11 deletions(-)



Message-ID: <E1rs8Mz-000McE-84@gemulon.postgresql.org>
Permalink:  ../E1rs8Mz-000McE-84@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1rs8Mz-000McE-84@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: tgl@sss.pgh.pa.us, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Invent SERIALIZE option for EXPLAIN.
  In-Reply-To: <E1rs8Mz-000McE-84@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