Re: explain analyze output with parallel workers - question about meaning of information for explain.depesz.com
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: Thomas Munro <thomas.munro@enterprisedb.com>
Cc: Amit Kapila <amit.kapila16@gmail.com>,
Hubert Lubaczewski <depesz@depesz.com>, pgsql-hackers mailing list <pgsql-hackers@postgresql.org>
Date: 2017-12-05T18:48:50Z
Lists: pgsql-hackers
On Tue, Dec 5, 2017 at 2:49 AM, Thomas Munro <thomas.munro@enterprisedb.com> wrote: > As for how to aggregate the information, isn't it reasonable to show > data from the last loop on the basis that it's representative? > Summing wouldn't make too much sense, because you didn't use that much > memory all at once. Sorts can be rescanned even without parallel query, so I guess we should try to make the parallel case kinda like the non-parallel case. If I'm not wrong, that will just use the stats from the most recent execution (i.e. the last loop) -- see show_sort_info() in explain.c. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
Commits
-
Back-port fix for accumulation of parallel worker instrumentation.
- 2157a61b5aa3 9.6.7 landed
-
Test instrumentation of Hash nodes with parallel query.
- 7d3583ad9ae5 11.0 landed
-
Try again to fix accumulation of parallel worker instrumentation.
- 72567f617460 10.2 landed
- 8526bcb2df76 11.0 landed
-
Revert "Fix accumulation of parallel worker instrumentation."
- 7b3f85073c8d 10.2 landed
- 1d6fb35ad629 11.0 landed
-
Fix accumulation of parallel worker instrumentation.
- 778e78ae9fa5 10.2 landed
- 2c09a5c12a66 11.0 landed