Re:PostgreSQL 10 Released
by halayli on Thursday October 05, 2017 @01:05PM
(#15410717)
PostgreSQL uses shared memory, it doesn't copy the hash table.
[ Parent
| on HN ]
In the specific case of hashjoins, it does build them independently right now. There's a patch to rectify that though, by putting the hashtable also into shared memory. The coordination necessary to make multi phase batch joins and other such funny bits work, unfortunately made it infeasible to get into 10.
I stand corrected, it definitely reconstructs the hash table in each process.
FWIW, here's the patchset to fix that: https://commitfest.postgresql.org/15/871/