From: Ares <abaidulin@rambler.ru>
To: pgsql-performance@postgresql.org
Subject: Re: Having performance problems with TSearch2
Date: Mon, 5 Mar 2007 12:59:59 +0000 (UTC)
Message-ID: <loom.20070305T135429-492@post.gmane.org> (raw)
References: <bd8b58a40702200241y7ad2ae60q4e39bbfcfe1eed2f@mail.gmail.com>
>
> 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','хочу & трахаться');
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: abaidulin@rambler.ru
Subject: Re: Having performance problems with TSearch2
In-Reply-To: <loom.20070305T135429-492@post.gmane.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox