X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 3A7099F9B76 for ; Thu, 4 May 2006 09:28:02 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 25385-09 for ; Thu, 4 May 2006 09:27:53 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from r1.mycybernet.net (r1.mycybernet.net [209.5.206.8]) by postgresql.org (Postfix) with ESMTP id EB9A29F946D for ; Thu, 4 May 2006 09:27:53 -0300 (ADT) Received: from 227-54-222-209.mycybernet.net ([209.222.54.227]:49682 helo=phlogiston.dydns.org) by r1.mycybernet.net with esmtp (Exim 4.50 (FreeBSD)) id 1Fbcvw-0006A0-Bi for pgsql-performance@postgresql.org; Thu, 04 May 2006 08:27:52 -0400 Received: by phlogiston.dydns.org (Postfix, from userid 1000) id 8F36D4046; Thu, 4 May 2006 08:27:47 -0400 (EDT) Date: Thu, 4 May 2006 08:27:47 -0400 From: Andrew Sullivan To: pgsql-performance@postgresql.org Subject: Re: Postgres 7.4 and vacuum_cost_delay. Message-ID: <20060504122747.GA21437@phlogiston.dyndns.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200605/97 X-Sequence-Number: 18884 On Tue, May 02, 2006 at 05:47:15PM -0400, Chris Mckenzie wrote: > I've come to the conclusion I need to simply start tracking all transactions > and determining a cost/performance for the larger and frequently updated > tables without the benefit and penalty of pg_statio. I'll bet it won't help you. If you can't get off 7.4 on a busy machine, you're going to get hosed by I/O sometimes no matter what. My suggestion is to write a bunch of rule-of-thumb rules for your cron jobs, and start planning your upgrade. Jan back-patched the vacuum stuff to 7.4 for us (Afilias), and we tried playing with it; but it didn't really make the difference we'd hoped. The reason for this is that 7.4 also doesn't have the bg_writer. So you're still faced with I/O storms, no matter what you do. If I were in your shoes, I wouldn't waste a lot of time on trying to emulate the new features in 7.4. A -- Andrew Sullivan | ajs@crankycanuck.ca In the future this spectacle of the middle classes shocking the avant- garde will probably become the textbook definition of Postmodernism. --Brad Holland