Re: any way to get rid of Bitmap Heap Scan recheck? - Mailing list pgsql-performance

From Scott Marlowe
Subject Re: any way to get rid of Bitmap Heap Scan recheck?
Date
Msg-id 4679A4E1.2060106@g2switchworks.com
Whole thread Raw
In response to Re: any way to get rid of Bitmap Heap Scan recheck?  (Sergei Shelukhin <realgeek@gmail.com>)
List pgsql-performance
Sergei Shelukhin wrote:
> Hi.
> I have the following join condition in a query
> "posttag inner join tag ON posttag.tagid = tag.id and tag.name =
> 'blah'"
> tag.id is PK, I have indexes on posttag.tagid and tag.name both
> created  with all the options set to default.
> PG version is 8.1.
>
>
> The query is very slow (3 minutes on test data), here's what takes all
> the time, from explain results:Any ideas?

Yes, post the output of

explain analyze select ... (rest of query here)

for starters

pgsql-performance by date:

Previous
From: Andrew Sullivan
Date:
Subject: Re: Performance query about large tables, lots of concurrent access
Next
From: Scott Marlowe
Date:
Subject: Re: [GENERAL] [ADMIN] Postgres VS Oracle