Re: BUG #7884: pg_upgradecluster is terribly slow

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #7884: pg_upgradecluster is terribly slow
Date: 2013-02-15 23:55:02
Message-ID: 511ECAD6.9090009@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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

--
john r pierce 37N 122W
somewhere on the middle of the left coast

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2013-02-16 00:27:08 Re: BUG #7884: pg_upgradecluster is terribly slow
Previous Message Daniel Farina 2013-02-15 23:49:10 Re: BUG #7883: "PANIC: WAL contains references to invalid pages" on replica recovery