Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 0BE229F96EB for ; Fri, 24 Aug 2007 18:08:20 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 21274-05 for ; Fri, 24 Aug 2007 18:08:12 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from mx00.pub.collaborativefusion.com (mx00.pub.collaborativefusion.com [206.210.89.199]) by postgresql.org (Postfix) with ESMTP id EB8D29F9CA7 for ; Fri, 24 Aug 2007 18:08:14 -0300 (ADT) Received: from vanquish.pitbpa0.priv.collaborativefusion.com (vanquish.pitbpa0.priv.collaborativefusion.com [192.168.2.61]) (SSL: TLSv1/SSLv3,256bits,AES256-SHA) by wingspan with esmtp; Fri, 24 Aug 2007 17:08:13 -0400 id 00056405.46CF48BD.000006BF Date: Fri, 24 Aug 2007 17:08:13 -0400 From: Bill Moran To: "Kevin Grittner" Cc: "Kevin Kempter" , "Pgsql performance" Subject: Re: significant vacuum issues - looking for suggestions Message-Id: <20070824170813.72c0f39e.wmoran@collaborativefusion.com> In-Reply-To: <46CEFEB4.EE98.0025.0@wicourts.gov> References: <200708241357.23629.kevin@kevinkempterllc.com> <46CEFEB4.EE98.0025.0@wicourts.gov> Organization: Collaborative Fusion X-Mailer: Sylpheed 2.4.4 (GTK+ 2.10.14; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200708/296 X-Sequence-Number: 26426 In response to "Kevin Grittner" : > >>> On Fri, Aug 24, 2007 at 2:57 PM, in message > <200708241357.23629.kevin@kevinkempterllc.com>, Kevin Kempter > wrote: > > c) setup WAL archiving on the 8.1.4 cluster > > > > d) do a full dump of the 8.1.4 cluster and restore it to the new 8.2.4 > > cluster > > > > e) stop the 8.2.4 cluster and bring it up in recovery mode, pointing it > > to > > the directory where we're archiving the 8.1.4 cluster's WAL segments. > > You can't use these techniques for a major version upgrade. > Use pg_dump piped to psql. That will also eliminate all bloat. If you can't afford any downtime, you may be able to use Slony to do your upgrade. However, slony adds overhead, and if this system is tapped out already, it may not tolerate the additional overhead. -- Bill Moran Collaborative Fusion Inc. http://people.collaborativefusion.com/~wmoran/ wmoran@collaborativefusion.com Phone: 412-422-3463x4023