Re: slow IN() clause for many cases

Поиск
Список
Период
Сортировка
От Jonah H. Harris
Тема Re: slow IN() clause for many cases
Дата
Msg-id 36e682920510112326v4fe32755i5973a194e6cf008c@mail.gmail.com
обсуждение исходный текст
Ответ на Re: slow IN() clause for many cases  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
true dat :)


On 10/12/05, Tom Lane <tgl@sss.pgh.pa.us> wrote:
"Ilia Kantor" <ilia@obnovlenie.ru> writes:
> Bitmap Heap Scan on objects_hier  (cost=60.29..179.57 rows=80 width=600)
> (actual time=0.835..1.115 rows=138 loops=1)

vs

>  Merge Join  (cost=62.33..576.80 rows=1117 width=600) (actual
> time=0.542..2.898 rows=138 loops=1)

Hmm, sure looks from here like the bitmap plan is faster.

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster



--
Respectfully,

Jonah H. Harris, Database Internals Architect
EnterpriseDB Corporation
http://www.enterprisedb.com/

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: slow IN() clause for many cases
Следующее
От: Thomas Hallgren
Дата:
Сообщение: Re: Socket problem using beta2 on Windows-XP