Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id A3A3B61AFBE for ; Fri, 20 Jan 2012 17:42:28 -0400 (AST) Received: from gwmta.wicourts.gov ([165.219.244.99] helo=gw.wicourts.gov) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RoME8-0004GB-Fq for pgsql-admin@postgresql.org; Fri, 20 Jan 2012 21:42:29 +0000 Received: from Courts-MTA by gw.wicourts.gov with Novell_GroupWise; Fri, 20 Jan 2012 15:42:15 -0600 Message-Id: <4F198B510200002500044A64@gw.wicourts.gov> X-Mailer: Novell GroupWise Internet Agent 8.0.1 Date: Fri, 20 Jan 2012 15:42:09 -0600 From: "Kevin Grittner" To: "francis picabia" , "Brad (Toronto ON CA) Nicholson" Cc: "pgsql-admin@postgresql.org" Subject: Re: Best practise for upgrade of 24GB+ database References: In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Pg-Spam-Score: -4.2 (----) X-Archive-Number: 201201/121 X-Sequence-Number: 39033 francis picabia wrote: > That's great information. 9.0 is introducing streaming > replication, so that is another option I'll look into. We upgrade multi-TB databases in just a couple minutes using pg_upgrade using the hard-link option. That doesn't count post-upgrade vacuum/analyze time, but depending on your usage you might get away with analyzing a few tables before letting users in, and doing the database-wide vacuum analyze while the database is in use. One of the other options might be better for you, but this one has worked well for us. -Kevin