[MASSMAIL]pgsql: Invent SERIALIZE option for EXPLAIN. - Mailing list pgsql-committers

From Tom Lane
Subject [MASSMAIL]pgsql: Invent SERIALIZE option for EXPLAIN.
Date
Msg-id E1rs8Mz-000McE-84@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Alexander Korotkov
Date:
Subject: pgsql: Fix the parameters order for TableAmRoutine.relation_copy_for_cl
Next
From: Jeff Davis
Date:
Subject: pgsql: CREATE INDEX: do not update stats during binary upgrade.