3 ms·
PostgreSQL uses shared memory, it doesn't copy the hash table.
by halayli 9y ago
PostgreSQL uses shared memory, it doesn't copy the hash table.
- anarazel 9y agoIn 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.
- halayli 9y agoI stand corrected, it definitely reconstructs the hash table in each process.