pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: ktm@rice.edu <ktm@rice.edu>
To: Wells Oliver <wellsoliver@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Upgrading from 9.1 to 9.2 in place, same machine
Date: Wed, 10 Jul 2013 14:03:21 -0500
Message-ID: <20130710190321.GI3001@aart.rice.edu> (raw)
In-Reply-To: <CAOC+FBXwnwoE076-o2Xnph9qOi_monAeK9f3-RQjUx4TyOsLWQ@mail.gmail.com>
References: <CAOC+FBUZL60+OzFXoQZFRL42Zn2DDkyhmmOUx3SKE4Xv1y=eYQ@mail.gmail.com>
	<CAEiqQGbcHAqYvoGh2XnMD+n2UG57Dk7b0861te5go+ye7mHgPA@mail.gmail.com>
	<CAOC+FBXwnwoE076-o2Xnph9qOi_monAeK9f3-RQjUx4TyOsLWQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

On Wed, Jul 10, 2013 at 11:52:54AM -0700, Wells Oliver wrote:
> Can anyone speak to the speed of pg_upgrade? Our database is 153GB. From
> 9.1 to 9.2, I'm nervous it might take hours. If it were less than hour,
> downtime would be more acceptable.
> 

You can use the --link option and then you make hard links instead of
requiring a copy of the data files. It should be pretty fast. Without
--link a copy of 153GB could take a while. :)

http://www.postgresql.org/docs/9.2/interactive/pgupgrade.html

Ken


-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



view thread (15+ messages)  latest in thread

Message-ID: <20130710190321.GI3001@aart.rice.edu>
Permalink:  ../20130710190321.GI3001@aart.rice.edu/
Also on:    postgresql.org/message-id/20130710190321.GI3001@aart.rice.edu

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: ktm@rice.edu, wellsoliver@gmail.com
  Subject: Re: Upgrading from 9.1 to 9.2 in place, same machine
  In-Reply-To: <20130710190321.GI3001@aart.rice.edu>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox