X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 75203D1B460 for ; Tue, 25 Nov 2003 19:24:05 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 21749-06 for ; Tue, 25 Nov 2003 15:23:34 -0400 (AST) Received: from jefftrout.com (h00a0cc4084e5.ne.client2.attbi.com [24.128.241.68]) by svr1.postgresql.org (Postfix) with SMTP id E61A7D1B453 for ; Tue, 25 Nov 2003 15:23:33 -0400 (AST) Received: (qmail 89861 invoked from network); 25 Nov 2003 19:23:39 -0000 Received: from localhost (HELO squeegit) (threshar@127.0.0.1) by localhost with SMTP; 25 Nov 2003 19:23:39 -0000 Date: Tue, 25 Nov 2003 14:23:18 -0500 From: Jeff To: shane hill Cc: pgsql-performance@postgresql.org Subject: Re: design question: general db performance Message-Id: <20031125142318.4ff8bdb2.threshar@torgo.978.org> In-Reply-To: <3FC3A2A7.6060804@adobe.com> References: <3FC26E96.9090101@be-a-part.de> <3FC267FB.806@bigfoot.com> <3FC27911.7070403@be-a-part.de> <3FC27071.9000001@bigfoot.com> <3FC3A2A7.6060804@adobe.com> X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/246 X-Sequence-Number: 4806 On Tue, 25 Nov 2003 10:42:47 -0800 shane hill wrote: > Our db is getting to be a respectable size (about 10GB right now) and > is growing slower and slower. I have been charged with making it > faster and with a smaller footprint while retaining all of the current > functionality. here is one of my ideas. Please tell me if I am > crazy: > What exactly is it getting slower doing? Have you run through the usual gamut of things to check - shared buffers, vacuum analyzig, etc. etc. What ver of PG? What OS? Can you post any schema/queries? Normalizing can help. But I don't think it is going to be a magical bullet that will make the DB instantly fast. It will reduce the size of it though. -- Jeff Trout http://www.jefftrout.com/ http://www.stuarthamm.net/