Re: Weird 8.2.4 performance

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: Weird 8.2.4 performance
Дата
Msg-id 4667CE87.30101@archonet.com
обсуждение исходный текст
Ответ на Re: Weird 8.2.4 performance  (Mark Kirkwood <markir@paradise.net.nz>)
Ответы Re: Weird 8.2.4 performance  (Kurt Overberg <kurt@hotdogrecords.com>)
Список pgsql-performance
Mark Kirkwood wrote:
>
> 8.2 is deciding to use a bitmap index scan on taskid_taskinstance_key,
> which seems to be slower (!) than a plain old index scan that 8.0 is
> using. A dirty work around is to disable bitmap scans via:

I'm having difficulty figuring out why it's doing this at all. There's
only one index involved, and it's over the primary-key to boot!

An EXPLAIN ANALYSE with enable_bitmapscan off should say why PG thinks
the costs are cheaper than they actually are.

PS - well worded question Kurt. All the relevant information neatly laid
out, explain analyse on both platforms - you should be charging to let
people help ;-)

--
   Richard Huxton
   Archonet Ltd

В списке pgsql-performance по дате отправления:

Предыдущее
От: Kristo Kaiv
Дата:
Сообщение: Re: VERY slow queries at random
Следующее
От: "Steinar H. Gunderson"
Дата:
Сообщение: Re: Weird 8.2.4 performance