On Fri, Oct 21, 2011 at 12:52 PM, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
> Also, this line is kind of expensive:
> if (!visibilitymap_test(scandesc->heapRelation,
> Around 2%. But I don't see any way to avoid that, or even make it cheaper.
Could we cache by ItemPointerGetBlockNumber(tid) the results of those
tests, for groups of tids on the same index page?
How useful this would be would depend on how well-clustered the table
and index are.
In response to
pgsql-hackers by date
|Next:||From: Tom Lane||Date: 2011-10-23 23:26:57|
|Subject: Re: EXECUTE tab completion |
|Previous:||From: Jeff Janes||Date: 2011-10-23 22:41:05|
|Subject: Index only scans and visibilitymap.c|