Re: bitmap scan issues 8.1 devel

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: bitmap scan issues 8.1 devel
Дата
Msg-id 200508171433.15614.josh@agliodbs.com
обсуждение исходный текст
Ответ на bitmap scan issues 8.1 devel  ("Merlin Moncure" <merlin.moncure@rcsonline.com>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pthread stack on FreeBSD WAS: HEAD doesn't cope with libraries
Следующее
От: Hannu Krosing
Дата:
Сообщение: Re: Missing CONCURRENT VACUUM (Was: Release notes for