diff options
author | Thomas Munro <tmunro@postgresql.org> | 2020-01-27 12:52:08 +1300 |
---|---|---|
committer | Thomas Munro <tmunro@postgresql.org> | 2020-01-27 15:07:03 +1300 |
commit | 3e4818e9dd5be294d97ca67012528cb1c0b0ccaa (patch) | |
tree | 8e4ee2c7c8eab05100c19d0727ed91f9cb1ddb07 /src/backend/utils/adt/jsonfuncs.c | |
parent | 10a525230fb18331dbcfd6a4a7248d76f55c331c (diff) | |
download | postgresql-3e4818e9dd5be294d97ca67012528cb1c0b0ccaa.tar.gz postgresql-3e4818e9dd5be294d97ca67012528cb1c0b0ccaa.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/utils/adt/jsonfuncs.c')
0 files changed, 0 insertions, 0 deletions