Re: BUG #2075: Strange choice of bitmap-index-scan

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #2075: Strange choice of bitmap-index-scan
Дата
Msg-id 29048.1133370711@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #2075: Strange choice of bitmap-index-scan  ("Arjen" <acmmailing@tweakers.net>)
Ответы Re: BUG #2075: Strange choice of bitmap-index-scan  (Arjen van der Meijden <acmmailing@tweakers.net>)
Список pgsql-bugs
"Arjen" <acmmailing@tweakers.net> writes:
> So, it uses the correct index, but somehow decides to also use the other
> cat2_... index, which it doesn't need of course.

I've tweaked the heuristics in choose_bitmap_and to (hopefully) work a
bit better in scenarios like this.  Thanks for the example.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #2080: Partitioning does not work with PREPARE
Следующее
От: Arjen van der Meijden
Дата:
Сообщение: Re: BUG #2075: Strange choice of bitmap-index-scan