BitMapScan performance degradation

Поиск
Список
Период
Сортировка
От Jérôme BENOIS
Тема BitMapScan performance degradation
Дата
Msg-id 1164100889.5281.184.camel@localhost.localdomain
обсуждение исходный текст
Ответы Re: BitMapScan performance degradation  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: BitMapScan performance degradation  (db@zigo.dhs.org)
Список pgsql-performance
Hi All,

    I have some problems with my sql query :

select distinct
INTEGER_VALUE,DATE_VALUE,EI_ID,VALUE_TYPE,FLOAT_VALUE,ID,TEXT_VALUE,CATEGORY_ID,STRING_VALUE,CATEGORYATTR_ID,NAME from
((( select d_attribute as reqin2 where reqin2.CATEGORYATTR_ID = 1041947543 AND reqin2.TEXT_VALUE ilike '%autrefois%'
andei_id in ( select distinct ei_id as EIID from MPNG2_ei_attribute as reqin3 where reqin3.NAME =
'CategoryID-1084520156'AND reqin3.STRING_VALUE = '1084520156' )  )  ) ) ) as req0 join MPNG2_ei_attribute on req0.eiid
=MPNG2_ei_attribute.ei_id   order by ei_id asc; 

    When enable_bitmapscan is enabled this query cost 51893.491 ms and when
is disabled 117.709 ms. But i heard bitmapscan feature improved
performance, can you help me ?

    You can read two results of EXPLAIN ANALYZE command here :
http://sharengo.org/explain.txt

Best Regards,
Jérôme.

--
Jérôme BENOIS
Open-Source : http://www.sharengo.org
Corporate : http://www.argia-engineering.fr
JabberId : jerome.benois AT gmail.com

Вложения

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

Предыдущее
От: Markus Schaber
Дата:
Сообщение: Re: Postgres server crash
Следующее
От: "Carlos H. Reimer"
Дата:
Сообщение: RES: Context switching