Artur, I don't know, but could you try linux machine ? Oleg On Mon, 19 Jul 2010, Artur Dabrowski wrote:
Hello Oleg, my results are different. The analysis looks like this (please note the different numbers of rows): Aggregate (cost=104.05..104.06 rows=1 width=0) (actual time=152.133..152.135 rows=1 loops=1) -> Bitmap Heap Scan on search_tab (cost=5.39..103.98 rows=25 width=0) (actual time=76.546..151.834 rows=116 loops=1) Recheck Cond: ((to_tsvector('german'::regconfig, keywords) @@ '''ee'':*'::tsquery) AND (to_tsvector('german'::regconfig, keywords) @@ '''dd'':*'::tsquery)) -> Bitmap Index Scan on idx_keywords_ger (cost=0.00..5.38 rows=25 width=0) (actual time=76.292..76.292 rows=506 loops=1) Index Cond: ((to_tsvector('german'::regconfig, keywords) @@ '''ee'':*'::tsquery) AND (to_tsvector('german'::regconfig, keywords) @@ '''dd'':*'::tsquery)) Total runtime: 152.389 ms I have no idea, what could be the reason for different behaviour on your and my machine (windows xp, postgreSQL 8.4.3)? I reproduced the same wrong behaviour on a machine of my co-worker (windows xp, postgreSQL 8.4.4).
Regards, Oleg _____________________________________________________________ Oleg Bartunov, Research Scientist, Head of AstroNet (www.astronet.ru), Sternberg Astronomical Institute, Moscow University, Russia Internet: oleg@xxxxxxxxxx, http://www.sai.msu.su/~megera/ phone: +007(495)939-16-83, +007(495)939-23-83 -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general