OSDN Git Service

Tweak processing of multiple-index-scan plans to reduce overhead when
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 22 Aug 2003 20:26:43 +0000 (20:26 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 22 Aug 2003 20:26:43 +0000 (20:26 +0000)
commit92ee2528d8bf46739a460e3395057416c53e10d1
treebd7cb075e5719bc545fd78410a9a1f99c8ef0479
parent38e2bf6283da3fa4d544cce1fdc44a83f117cd2a
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.
src/backend/executor/nodeIndexscan.c
src/include/nodes/execnodes.h