pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: John R Pierce <pierce@hogranch.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #7884: pg_upgradecluster is terribly slow
Date: Fri, 15 Feb 2013 19:27:08 -0500
Message-ID: <20130216002708.GI12030@momjian.us> (raw)
In-Reply-To: <511ECAD6.9090009@hogranch.com>
References: <E1U6PHV-0005tQ-4N@wrigleys.postgresql.org>
	<1360952867.24218.YahooMailNeo@web162903.mail.bf1.yahoo.com>
	<511ECAD6.9090009@hogranch.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On Fri, Feb 15, 2013 at 03:55:02PM -0800, John R Pierce wrote:
> On 2/15/2013 10:27 AM, Kevin Grittner wrote:
> 
>     You might want to try the utility which *is* supported by the
>     PostgreSQL community, which is pg_upgrade.  For speed, consider
>     using the -k option.  I've been able to upgrade a 3 TB database in
>     just a few minutes with that.  (Timing depends more on the number
>     of database objects than their size.)
> 
> 
> do note this -k option only functions if the old and new cluster are on the
> same mount point, so the files can be mv'd

Actually, hard linked, not moved.

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +


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



view thread (6+ messages)  latest in thread

Message-ID: <20130216002708.GI12030@momjian.us>
Permalink:  ../20130216002708.GI12030@momjian.us/
Also on:    postgresql.org/message-id/20130216002708.GI12030@momjian.us

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: bruce@momjian.us, pierce@hogranch.com
  Subject: Re: BUG #7884: pg_upgradecluster is terribly slow
  In-Reply-To: <20130216002708.GI12030@momjian.us>
  References: <E1U6PHV-0005tQ-4N@wrigleys.postgresql.org> <1360952867.24218.YahooMailNeo@web162903.mail.bf1.yahoo.com> <511ECAD6.9090009@hogranch.com> <20130216002708.GI12030@momjian.us>

* 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