Re: pgsql: Add parallel-aware hash joins.
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Thomas Munro <thomas.munro@enterprisedb.com>
Cc: Andres Freund <andres@anarazel.de>,
pgsql-committers <pgsql-committers@postgresql.org>
Date: 2018-01-22T15:01:50Z
Lists: pgsql-hackers
Thomas Munro <thomas.munro@enterprisedb.com> writes: > On Mon, Jan 22, 2018 at 11:17 PM, Thomas Munro > <thomas.munro@enterprisedb.com> wrote: >> It looks to me like longfin's average and >> variation increased half way between fa330f9a and 18042840, somewhere >> near Dec 7 to 9, when we went from ~40s +/- 1 to ~50s with several >> seconds' variation. Was there some other environmental change then on >> that machine? > Ahh. That corresponds to the release of this patch: > https://support.apple.com/en-nz/HT208331 Yeah, I'm pretty sure that I installed that update immediately when it came out. There were some other strange things going on on that machine too; I remember having noticed and killed a daemon process that seemed to be stuck at 100% CPU. That might explain the sudden dropoff in runtimes in early January. And seeing that the times seem to be back up, I looked just now, and there it is again: PID COMMAND %CPU TIME #TH #WQ #PORT MEM PURG CMPRS PGRP 360 fontworker 75.9 238 hrs 4 4 45- 28M 0B 0B 360 359 fontd 25.3 86:18:50 4/1 3/1 74 33M+ 0B 1396K 359 76 logd 12.7 26:25:16 5 5 611 31M- 0B 0B 76 46241 top 2.6 00:01.04 1/1 0 23 2140K 0B 0B 46241 Weird --- my other macOS machines aren't doing that. Anyway, it looks like we should write off these longfin timings as ambient noise :-( regards, tom lane
Commits
-
Update obsolete sentence in README.parallel.
- 28e04155f17c 11.0 cited
-
Rewrite ConditionVariableBroadcast() to avoid live-lock.
- aced5a92bf46 11.0 cited
-
Tweak parallel hash join test case in hopes of improving stability.
- 934c7986f4a0 11.0 landed
-
Rename pg_rewind's copy_file_range() to avoid conflict with new linux syscall.
- 3e68686e2c55 11.0 cited
-
Fix some minor errors in new PHJ code.
- 6fcde2406304 11.0 landed
-
Fix EXPLAIN ANALYZE output for Parallel Hash.
- 93ea78b17c47 11.0 landed
-
Fix rare assertion failure in parallel hash join.
- f83040c62a78 11.0 landed
-
Cancel CV sleep during subtransaction abort.
- f3decdc94ea3 10.2 landed
- 59d1e2b95a82 11.0 landed
-
Add parallel-aware hash joins.
- 1804284042e6 11.0 cited
-
Fix EXPLAIN ANALYZE of hash join when the leader doesn't participate.
- 5bcf389ecfd4 11.0 cited
-
Add some regression tests that exercise hash join code.
- fa330f9adf4e 11.0 cited