Small performance improvement for hash joins and hash aggregation:
Tom Lane <tgl@sss.pgh.pa.us>
Small performance improvement for hash joins and hash aggregation: when the plan is ReScanned, we don't have to rebuild the hash table if there is no parameter change for its child node. This idea has been used for a long time in Sort and Material nodes, but was not in the hash code till now.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/executor/nodeAgg.c | modified | +31 −2 |
| src/backend/executor/nodeHashjoin.c | modified | +45 −38 |