logoalt Hacker News

glenjaminyesterday at 4:21 PM1 replyview on HN

A bitmap index scan allows the database to narrow down which pages could include the data, but then still has to recheck the condition on the contents of those pages - so will still not be as performant as an proper index scan


Replies

isbvhodnvemrwvnyesterday at 8:49 PM

With postgres indexes not containing liveness data for tuples you'll have to hit quite a lot of those pages anyway, unless they are frozen.