aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gist.c
diff options
context:
space:
mode:
authorThomas Munro <tmunro@postgresql.org>2020-01-27 12:52:08 +1300
committerThomas Munro <tmunro@postgresql.org>2020-01-27 14:12:18 +1300
commit6a9fc75d0391e41877ed0a7e6d33335696090015 (patch)
tree4458fe116c9679b132adc5ac92379954ed211ec5 /src/backend/access/gist/gist.c
parent5220ced0de5de1b88437c00fffabfac223ee9866 (diff)
downloadpostgresql-6a9fc75d0391e41877ed0a7e6d33335696090015.tar.gz
postgresql-6a9fc75d0391e41877ed0a7e6d33335696090015.zip
Avoid unnecessary shm writes in Parallel Hash Join.
Currently, Parallel Hash Join cannot be used for full/right joins, so there is no point in setting the match flag. It turns out that the cache coherence traffic generated by those writes slows down large systems running many-core joins, so let's stop doing that. In future, if we need to use match bits in parallel joins, we might want to consider setting them only if not already set. Back-patch to 11, where Parallel Hash Join arrived. Reported-by: Deng, Gang Discussion: https://postgr.es/m/0F44E799048C4849BAE4B91012DB910462E9897A%40SHSMSX103.ccr.corp.intel.com
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions