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 0B9ED53758 for ; Fri, 1 Apr 2005 05:03:42 +0100 (BST) 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 31797-01 for ; Fri, 1 Apr 2005 04:03:33 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.195]) by svr1.postgresql.org (Postfix) with ESMTP id 4BF9853557 for ; Fri, 1 Apr 2005 05:03:32 +0100 (BST) Received: by rproxy.gmail.com with SMTP id j1so550637rnf for ; Thu, 31 Mar 2005 20:03:32 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=GpNeKNnzTOFgr6jcKfDCeU6z/JNcxxpf0M+uVuoVBE49Q/JMehVTvG0NXcl40SFFCIsmkZSfgvhaflBkOEg7n7XPTYZJVYYPXvPRYzQIira3swSlH91y5y52xrxiE9xebK9NBacuLIIy11HfwRH3P5xKEbQuGWcvXV0U+BMbG9Y= Received: by 10.38.126.71 with SMTP id y71mr2060801rnc; Thu, 31 Mar 2005 20:03:32 -0800 (PST) Received: by 10.38.82.47 with HTTP; Thu, 31 Mar 2005 20:03:32 -0800 (PST) Message-ID: Date: Thu, 31 Mar 2005 22:03:32 -0600 From: Yudie Pg Reply-To: Yudie Pg To: pgsql-performance@postgresql.org Subject: Re: How to speed up word count in tsearch2? In-Reply-To: <200503311250.45932.josh@agliodbs.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: <200503311250.45932.josh@agliodbs.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.246 tagged_above=0 required=5 tests=AWL, DNS_FROM_RFC_ABUSE, RCVD_BY_IP X-Spam-Level: X-Archive-Number: 200504/2 X-Sequence-Number: 11399 > You need to look at what else is using RAM on that machine. And maybe buy > more. Ouch.. I had that feeling also. then how can I know how much memory needed for certain amount words? and why counting uncommon words are faster than common one?