git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 6078770) | patch
Fix EXPLAIN ANALYZE output for Parallel Hash.
Mon, 1 Jan 2018 22:38:23 +0000 (14:38 -0800)
Mon, 1 Jan 2018 22:38:23 +0000 (14:38 -0800)
commit 93ea78b17c4743c2b63edb5998fb5796ae57e289
Fix EXPLAIN ANALYZE output for Parallel Hash.

In a race case, EXPLAIN ANALYZE could fail to display correct nbatch
and size information. Refactor so that participants report only on
batches they worked on rather than trying to report on all of them,
and teach explain.c to consider the HashInstrumentation object from
all participants instead of picking the first one it can find. This
should fix an occasional build farm failure in the "join" regression
test.

Author: Thomas Munro
Reviewed-By: Andres Freund
Discussion: https://postgr.es/m/30219.1514428346%40sss.pgh.pa.us
src/backend/commands/explain.c diff | blob | blame | history
src/backend/executor/nodeHash.c diff | blob | blame | history
src/backend/executor/nodeHashjoin.c diff | blob | blame | history
src/include/executor/nodeHash.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /