Re: BUG #2075: Strange choice of bitmap-index-scan - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #2075: Strange choice of bitmap-index-scan
Date
Msg-id 7826.1133281911@sss.pgh.pa.us
Whole thread Raw
In response to BUG #2075: Strange choice of bitmap-index-scan  ("Arjen" <acmmailing@tweakers.net>)
Responses Re: BUG #2075: Strange choice of bitmap-index-scan  (Arjen van der Meijden <acmmailing@tweakers.net>)
List pgsql-bugs
"Arjen" <acmmailing@tweakers.net> writes:
>    ->  BitmapAnd  (cost=5.62..5.62 rows=1 width=0)
>          ->  Bitmap Index Scan on pwprodukten_cat2_popuindex
> (cost=0.00..2.50 rows=144 width=0)
>                Index Cond: (cat2 = 51)
>          ->  Bitmap Index Scan on pwprodukten_cat2_zichtbaar
> (cost=0.00..2.86 rows=144 width=0)
>                Index Cond: ((cat2 = 51) AND (zichtbaar = true))

Hmmm ... I can reproduce that if *all* the rows in the table have
zichtbaar = true (or at least the ANALYZE stats say so) ... is that
the case in your data?

            regards, tom lane

pgsql-bugs by date:

Previous
From: Dirk Lutzebäck
Date:
Subject: pg_dump: schema with OID 559701082 does not exist
Next
From: Tom Lane
Date:
Subject: Re: pg_dump: schema with OID 559701082 does not exist