summaryrefslogtreecommitdiff
path: root/src/backend/executor/execTuples.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2005-01-22 20:05:23 +0000
committerBruce Momjian <bruce@momjian.us>2005-01-22 20:05:23 +0000
commitb60a8512a08ae0036a3a57b3a613a13006264f31 (patch)
treee462624af2af61efb55e6da965376e1903bb70a5 /src/backend/executor/execTuples.c
parent5df3fc67a7d3cf7f24bbe71807c11611b5851633 (diff)
Update count(*) discussion ideas:
< BY col {DESC} LIMIT 1. Completing this item involves making this > BY col {DESC} LIMIT 1. Completing this item involves doing this < invalidated if anyone modifies the table. < > invalidated if anyone modifies the table. Another idea is to > get a count directly from a unique index, but for this to be > faster than a sequential scan it must avoid access to the heap > to obtain tuple visibility information. > > * Allow data to be pulled directly from indexes > > Currently indexes do not have enough tuple tuple visibility > information to allow data to be pulled from the index without > also accessing the heap. One way to allow this is to set a bit > to index tuples to indicate if a tuple is currently visible to > all transactions when the first valid heap lookup happens. This > bit would have to be cleared when a heap tuple is expired. >
Diffstat (limited to 'src/backend/executor/execTuples.c')
0 files changed, 0 insertions, 0 deletions