]> granicus.if.org Git - postgresql/commit
Allow EXPLAIN (ANALYZE, VERBOSE) to display per-worker statistics.
authorRobert Haas <rhaas@postgresql.org>
Wed, 9 Dec 2015 18:18:09 +0000 (13:18 -0500)
committerRobert Haas <rhaas@postgresql.org>
Wed, 9 Dec 2015 18:21:19 +0000 (13:21 -0500)
commitb287df70e4080350aa471ecca428be145581dd4d
tree10f57a8c7d1029fa1c1b7caabf24ce0925f23b07
parent25c539233044c235e97fd7c9dc600fb5f08fe065
Allow EXPLAIN (ANALYZE, VERBOSE) to display per-worker statistics.

The original parallel sequential scan commit included only very limited
changes to the EXPLAIN output.  Aggregated totals from all workers were
displayed, but there was no way to see what each individual worker did
or to distinguish the effort made by the workers from the effort made by
the leader.

Per a gripe by Thom Brown (and maybe others).  Patch by me, reviewed
by Amit Kapila.
src/backend/commands/explain.c
src/backend/executor/execParallel.c
src/include/executor/instrument.h
src/include/nodes/execnodes.h