>>> Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
> What's weird about this example is that when he sets enable_seqscan
to
> off, the bitmap index scan plan is actually substantially faster,
even
> though it in fact does scan nearly the entire heap. I don't
> understand how it can be faster to scan the index and the heap than
to
> just scan the heap.
It's cached in the second test, maybe?
-Kevin