diff options
| author | Robert Haas | 2015-12-09 18:18:09 +0000 |
|---|---|---|
| committer | Robert Haas | 2015-12-09 18:21:19 +0000 |
| commit | b287df70e4080350aa471ecca428be145581dd4d (patch) | |
| tree | 10f57a8c7d1029fa1c1b7caabf24ce0925f23b07 /src/include/nodes | |
| parent | 25c539233044c235e97fd7c9dc600fb5f08fe065 (diff) | |
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.
Diffstat (limited to 'src/include/nodes')
| -rw-r--r-- | src/include/nodes/execnodes.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/nodes/execnodes.h b/src/include/nodes/execnodes.h index eb3591a663f..5ccf4700afd 100644 --- a/src/include/nodes/execnodes.h +++ b/src/include/nodes/execnodes.h @@ -1029,6 +1029,7 @@ typedef struct PlanState * top-level plan */ Instrumentation *instrument; /* Optional runtime stats for this node */ + WorkerInstrumentation *worker_instrument; /* per-worker instrumentation */ /* * Common structural data for all Plan types. These links to subsidiary |
