- Notifications
You must be signed in to change notification settings - Fork28
Commit3e4818e
committed
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 thatthe cache coherence traffic generated by those writes slows downlarge systems running many-core joins, so let's stop doing that.In future, if we need to use match bits in parallel joins, we mightwant to consider setting them only if not already set.Back-patch to 11, where Parallel Hash Join arrived.Reported-by: Deng, GangDiscussion:https://postgr.es/m/0F44E799048C4849BAE4B91012DB910462E9897A%40SHSMSX103.ccr.corp.intel.com1 parent10a5252 commit3e4818e
1 file changed
+20
-1
lines changedLines changed: 20 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
454 | 454 |
| |
455 | 455 |
| |
456 | 456 |
| |
457 |
| - | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
458 | 477 |
| |
459 | 478 |
| |
460 | 479 |
| |
|
0 commit comments
Comments
(0)