Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 9EBCD9FB473 for ; Tue, 20 Feb 2007 07:15:37 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-new, port 10024) with ESMTP id 48355-02 for ; Tue, 20 Feb 2007 07:15:32 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from xor.sai.msu.ru (xor.sai.msu.ru [212.192.243.97]) by postgresql.org (Postfix) with ESMTP id 348E89FB44D for ; Tue, 20 Feb 2007 07:15:32 -0400 (AST) Received: from xor.sai.msu.ru (localhost [127.0.0.1]) by xor.sai.msu.ru (Postfix) with ESMTP id 0938017102; Tue, 20 Feb 2007 14:15:28 +0300 (MSK) Message-ID: <45DAD84F.7040701@sigaev.ru> Date: Tue, 20 Feb 2007 14:15:27 +0300 From: Teodor Sigaev User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.2pre) Gecko/20070207 SeaMonkey/1.1 MIME-Version: 1.0 To: Rafa Comino CC: pgsql-general@postgresql.org Subject: Re: Having performance problems with TSearch2 References: In-Reply-To: Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.077 tagged_above=0 required=5 tests=AWL, BAYES_50 X-Spam-Level: X-Archive-Number: 200702/1046 X-Sequence-Number: 109536 Use GIN index instead of GiST > I have a table of books, with 1200000 registers. I have created an GIST > index over the title and subtitle, -- Teodor Sigaev E-mail: teodor@sigaev.ru WWW: http://www.sigaev.ru/