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 C448452B4F for ; Wed, 27 Jul 2005 21:09:33 -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 13471-07 for ; Thu, 28 Jul 2005 00:09:24 +0000 (GMT) Received: from davinci.ethosmedia.com (server227.ethosmedia.com [209.128.84.227]) by svr1.postgresql.org (Postfix) with ESMTP id 5DD9E52A1C for ; Wed, 27 Jul 2005 21:09:23 -0300 (ADT) X-EthosMedia-Virus-Scanned: no infections found Received: from [64.81.245.111] (account josh@agliodbs.com HELO temoku.sf.agliodbs.com) by davinci.ethosmedia.com (CommuniGate Pro SMTP 4.1.8) with ESMTP id 7662855; Wed, 27 Jul 2005 17:11:39 -0700 From: Josh Berkus Reply-To: josh@agliodbs.com Organization: Aglio Database Solutions To: pgsql-performance@postgresql.org Subject: Re: Performance problems testing with Spamassassin 3.1.0 Bayes module. Date: Wed, 27 Jul 2005 17:12:15 -0700 User-Agent: KMail/1.8 Cc: Matthew Schumacher References: <42E80C28.2040608@aptalaska.net> In-Reply-To: <42E80C28.2040608@aptalaska.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200507271712.15299.josh@agliodbs.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.049 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200507/424 X-Sequence-Number: 13665 Matt, > After playing with various indexes and what not I simply am unable to > make this procedure perform any better. =A0Perhaps someone on the list can > spot the bottleneck and reveal why this procedure isn't performing that > well or ways to make it better. Well, my first thought is that this is a pretty complicated procedure for=20 something you want to peform well. Is all this logic really necessary? = =20 How does it get done for MySQL? =2D-=20 =2D-Josh Josh Berkus Aglio Database Solutions San Francisco