Re: Having performance problems with TSearch2 - Mailing list pgsql-performance

From Ares
Subject Re: Having performance problems with TSearch2
Date
Msg-id loom.20070305T135429-492@post.gmane.org
Whole thread Raw
List pgsql-performance
>
> I have problems with queries over tsearch index.I have a table of books, with
> 1200000 registers. I have created an GIST index over the title and subtitle,
> CREATE INDEX "idxts2_titsub_idx" ON "public"."libros" USING gist
("idxts2_titsub");

Your query didn't use index that you are created..
After CREATE INDEX you mast ran VACUUM (FULL recomended) and REINDEX
The query is: select userid,msg,idxfti from _my_msg0 where idxfti @@
to_tsquery('utf8_russian','хочу & трахаться');


pgsql-performance by date:

Previous
From: hytech.qa@gmail.com
Date:
Subject: Hibernate left join
Next
From: Jeff Cole
Date:
Subject: