Tweak processing of multiple-index-scan plans to reduce overhead when

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 92ee2528d8bf46739a460e3395057416c53e10d1
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2003-08-22T20:26:43Z
Releases: 7.4.1
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

PathChange+/−
src/backend/executor/nodeIndexscan.c modified +148 −30
src/include/nodes/execnodes.h modified +5 −1