Re: bitmap scan issues 8.1 devel - Mailing list pgsql-hackers

From Josh Berkus
Subject Re: bitmap scan issues 8.1 devel
Date
Msg-id 200508171433.15614.josh@agliodbs.com
Whole thread Raw
In response to bitmap scan issues 8.1 devel  ("Merlin Moncure" <merlin.moncure@rcsonline.com>)
List pgsql-hackers
Merlin,

>    ->  Index Scan using product_structure_file_pkey on
> product_structure_file  (cost=0.00..45805.23 rows=5722 width=288)
> (actual time=0.063..0.063 row
> s=1 loops=1)

It appears that your DB is estimating the number of rows returned much too
high (5722 instead of 1).  Please raise the statistics on all columns to
about 500, analyze, and try your test again.

Thanks!

--
--Josh

Josh Berkus
Aglio Database Solutions
San Francisco

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pthread stack on FreeBSD WAS: HEAD doesn't cope with libraries
Next
From: Hannu Krosing
Date:
Subject: Re: Missing CONCURRENT VACUUM (Was: Release notes for