forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit6a9fc75
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 parent5220ced commit6a9fc75
1 file changed
+20
-1
lines changedLines changed: 20 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
447 | 447 |
| |
448 | 448 |
| |
449 | 449 |
| |
450 |
| - | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
451 | 470 |
| |
452 | 471 |
| |
453 | 472 |
| |
|
0 commit comments
Comments
(0)