X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 0792C5E46C3 for ; Thu, 26 Aug 2004 16:30:49 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 87496-03 for ; Thu, 26 Aug 2004 19:30:47 +0000 (GMT) Received: from mx.noos.fr (pm-mx3.mgn.net [195.46.220.211]) by svr1.postgresql.org (Postfix) with ESMTP id 13D5A5E3639 for ; Thu, 26 Aug 2004 16:30:44 -0300 (ADT) Received: from localhost (pm-mnet2.mgn.net [195.46.220.219]) by mx.noos.fr (Postfix) with SMTP id D3C6B268F8; Thu, 26 Aug 2004 21:30:41 +0200 (MEST) X-Mailbox-Line: From footcow@noos.fr Thu Aug 26 21:30:41 2004 Received: from e115.dhcp212-198-145.noos.fr (e115.dhcp212-198-145.noos.fr [212.198.145.115]) by pm-mnet2.mgn.net with ESMTP; Thu, 26 Aug 2004 21:30:41 (MEST) From: =?iso-8859-15?q?Herv=E9_Piedvache?= To: pgsql-performance@postgresql.org Subject: Re: TSearch2 and optimisation ... Date: Thu, 26 Aug 2004 21:30:40 +0200 User-Agent: KMail/1.6.2 Cc: Josh Berkus , =?iso-8859-15?q?Herv=E9_Piedvache?= References: <200408260048.32274.footcow@noos.fr> <200408260922.01797.herve@elma.fr> <200408261048.58726.josh@agliodbs.com> In-Reply-To: <200408261048.58726.josh@agliodbs.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Message-Id: <200408262130.40500.footcow@noos.fr> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200408/373 X-Sequence-Number: 8009 Le Jeudi 26 Ao=FBt 2004 19:48, Josh Berkus a =E9crit : > Herve' > > > (cost=3D0.00..4052.84 rows=3D1351 width=3D166) (actual time=3D109.766..= 5415.108 > > rows=3D139 loops=3D1) > > Index Cond: (idxfti @@ '\'postgresql\''::tsquery) > > Filter: (idxfti @@ '\'postgresql\''::tsquery) > > > >From this, it looks like your FTI index isn't fitting in your sort_mem. > > What's sort_mem at now? Can you increase it? shared_buffers =3D 3000 sort_mem =3D 10240 > Overall, though, I'm not sure you can get this sub-1s without a faster > machine. Although I'm doing FTI on about 25MB of FTI text on a > single-processor machine, and getting 40ms response times, so maybe we can > ... Sorry I missed understand what you mean here ...=20 You tell me to upgrade the hardware but you manage a 25 Mb with a single=20 processor ?? What you mean ? My database is about 450 Mb ... Regards, --=20 Bill Footcow