Tweak processing of multiple-index-scan plans to reduce overhead when
Tom Lane <tgl@sss.pgh.pa.us>
Tweak processing of multiple-index-scan plans to reduce overhead when handling many-way scans: instead of re-evaluating all prior indexscan quals to see if a tuple has been fetched more than once, use a hash table indexed by tuple CTID. But fall back to the old way if the hash table grows to exceed SortMem.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/executor/nodeIndexscan.c | modified | +148 −30 |
| src/include/nodes/execnodes.h | modified | +5 −1 |