agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
pgsql: Add EXPLAIN (IO) instrumentation for SeqScan
2+ messages / 1 participants
[nested] [flat]

* pgsql: Add EXPLAIN (IO) instrumentation for SeqScan
@ 2026-04-07 21:07 Tomas Vondra <tomas.vondra@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Tomas Vondra @ 2026-04-07 21:07 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Add EXPLAIN (IO) instrumentation for SeqScan

Adds support for EXPLAIN (IO) instrumentation for sequential scans. This
requires adding shared instrumentation, using the separate DSM approach
introduced by dd78e69cfc33.

Author: Tomas Vondra <tomas@vondra.me>
Reviewed-by: Melanie Plageman <melanieplageman@gmail.com>
Reviewed-by: Lukas Fittl <lukas@fittl.com>
Reviewed-by: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/flat/a177a6dd-240b-455a-8f25-aca0b1c08c6e%40vondra.me

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3b1117d6e2e47d86cdbd978b79434c630cb0ef52

Modified Files
--------------
src/backend/commands/explain.c         |  25 +++++++
src/backend/executor/execParallel.c    |  11 +++
src/backend/executor/nodeSeqscan.c     | 133 ++++++++++++++++++++++++++++++---
src/include/executor/instrument_node.h |  19 +++++
src/include/executor/nodeSeqscan.h     |   9 +++
src/include/nodes/execnodes.h          |   1 +
src/test/regress/expected/explain.out  |  18 ++++-
src/test/regress/sql/explain.sql       |   4 +-
src/tools/pgindent/typedefs.list       |   2 +
9 files changed, 209 insertions(+), 13 deletions(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Add EXPLAIN (IO) instrumentation for TidRangeScan
@ 2026-04-07 21:25 Tomas Vondra <tomas.vondra@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Tomas Vondra @ 2026-04-07 21:25 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Add EXPLAIN (IO) instrumentation for TidRangeScan

Adds support for EXPLAIN (IO) instrumentation for TidRange scans. This
requires adding shared instrumentation for parallel scans, using the
separate DSM approach introduced by dd78e69cfc33.

Author: Tomas Vondra <tomas@vondra.me>
Reviewed-by: Melanie Plageman <melanieplageman@gmail.com>
Reviewed-by: Lukas Fittl <lukas@fittl.com>
Reviewed-by: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/flat/a177a6dd-240b-455a-8f25-aca0b1c08c6e%40vondra.me

Branch
------
master

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

Modified Files
--------------
src/backend/commands/explain.c          |  25 ++++++
src/backend/executor/execParallel.c     |  12 +++
src/backend/executor/nodeTidrangescan.c | 133 ++++++++++++++++++++++++++++++--
src/include/executor/instrument_node.h  |  18 +++++
src/include/executor/nodeTidrangescan.h |   9 +++
src/include/nodes/execnodes.h           |   1 +
src/tools/pgindent/typedefs.list        |   2 +
7 files changed, 192 insertions(+), 8 deletions(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2026-04-07 21:25 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-04-07 21:07 pgsql: Add EXPLAIN (IO) instrumentation for SeqScan Tomas Vondra <tomas.vondra@postgresql.org>
2026-04-07 21:25 pgsql: Add EXPLAIN (IO) instrumentation for TidRangeScan Tomas Vondra <tomas.vondra@postgresql.org>

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