Received: from thelab.hub.org (root@[24.71.144.154]) by hub.org (8.10.1/8.11.0) with ESMTP id e9NNsXO01093 for ; Mon, 23 Oct 2000 19:54:33 -0400 (EDT) (envelope-from scrappy@hub.org) Received: from localhost (scrappy@localhost) by thelab.hub.org (8.11.1/8.11.1) with ESMTP id e9NNqlY01595; Mon, 23 Oct 2000 20:52:47 -0300 (ADT) (envelope-from scrappy@hub.org) X-Authentication-Warning: thelab.hub.org: scrappy owned process doing -bs Date: Mon, 23 Oct 2000 20:52:46 -0300 (ADT) From: The Hermit Hacker To: Craig May cc: pgsql-sql@postgresql.org Subject: Re: Postgresql Site Search In-Reply-To: <20001024103742.A1829@s2.enthdimension.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200010/201 X-Sequence-Number: 1863 On Tue, 24 Oct 2000, Craig May wrote: > > Considering postgresql performs so well for me here, why is the > postgres site search so fucking slow?? The search engine used (udmsearch) isn't written to be the most efficient as far as making use of SQL features are concerned (ie. it was designed with MySQL limitations in mind) ... I've sent in several suggestions that provide speed improvements (use of subselects) that haven't been implemented as it would break MySQL support ... One of these days, I'll sit down and do the mods and submit it in such a way that for PostgreSQL, it uses subselects, for MySQL, it doesn't ... unless someone else feels like diving into some code? The PostgreSQL backend for the site is running on a dedicated PIII-400 with ~512Meg of RAM ... its not like the resources aren't there :(