X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 513779DC821 for ; Fri, 10 Mar 2006 11:48:20 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 91846-04 for ; Fri, 10 Mar 2006 11:48:24 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.192]) by postgresql.org (Postfix) with ESMTP id 1D0F59DC80E for ; Fri, 10 Mar 2006 11:48:17 -0400 (AST) Received: by xproxy.gmail.com with SMTP id h30so528037wxd for ; Fri, 10 Mar 2006 07:48:23 -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:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DsULRePl5xEm+UcMHoQM8o9TODWBSjZJVK0PEMCgWi18xXlP0LS7fGadwBccWX72bDWWFMuK9bGcxlGBhbpO6HgfJPyJHqifJQIzXCcYXW28IdTLJuzTDLYhqxeE8Wj/NeezvJXP5ejYKFkj0oapRWQkCjpNoXl5jys1Z5D+09I= Received: by 10.70.123.18 with SMTP id v18mr3721752wxc; Fri, 10 Mar 2006 07:48:22 -0800 (PST) Received: by 10.70.128.2 with HTTP; Fri, 10 Mar 2006 07:48:22 -0800 (PST) Message-ID: Date: Fri, 10 Mar 2006 09:48:22 -0600 From: "Matthew Nuzum" Reply-To: newz@bearfruit.org To: NbForYou Subject: Re: Process Time X200 Cc: "Michael Fuhr" , pgsql-performance@postgresql.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20060310085943.GA8913@winnie.fuhr.org> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.162 required=5 tests=[AWL=0.162] X-Spam-Score: 0.162 X-Spam-Level: X-Archive-Number: 200603/132 X-Sequence-Number: 17569 On 3/10/06, NbForYou wrote: > Hey Michael, you sure know your stuff! > > Versions: > > PostgreSQL 7.3.9-RH running on the webhost. > PostgreSQL 8.0.3 running on my homeserver. > > So the only solution is to ask my webhost to upgrade its postgresql? > The question is will he do that? After all a license fee is required for > commercial use. And running a webhosting service is a commercial use. > > thanks for replying and going through the effort of creating the database > and populating it. > > Nick > You can look at the explain analyze output of the query from pg 7.3, figure out why the plan is bad and tweak your query to get optimum performance. Yes, I agree with the other statements that say, "upgrade to 7.4 or 8.x if you can" but if you can't, then you can still work on it. -- Matthew Nuzum www.bearfruit.org