Re: upgrade and migrate - Mailing list pgsql-general

From Peter Eisentraut
Subject Re: upgrade and migrate
Date
Msg-id 089b4bfb-9f92-d0f8-77ea-a59e49ed31a5@2ndquadrant.com
Whole thread Raw
In response to Re: upgrade and migrate  (Laurenz Albe <laurenz.albe@cybertec.at>)
List pgsql-general
On 2019-12-04 08:56, Laurenz Albe wrote:
> On Wed, 2019-12-04 at 13:48 +0900, Michael Paquier wrote:
>> On Tue, Dec 03, 2019 at 10:32:22PM +0000, Julie Nishimura wrote:
>>> Hello, what is the best way to migrate from PostgreSQL 8.3.11 on
>>> x86_64-redhat-linux-gnu to PostgreSQL 9.6.16 on x86_64-pc-linux-gnu
>>> server, with minimal downtime?
>>> The caveat is the source has about 80 databases overall almost 30
>>> TB. I could migrate the smallest ones (up to 1 tb) using pg_dump and
>>> pg_restore, but the largest hot database is almost 17 tb, and I am
>>> not sure how to approach this effort in a better and efficient way?
>>
>> pg_upgrade could be one way to go here.  That's not the scale pg_dump
>> would be very good at.  I would have personally avoided using pg_dump
>> above 10~20GB.  Depending on the downtime you are ready to accept,
>> a migration based on Slony could be something to investigate.
> 
> Right, Slony is the way to go, since pg_upgrade doesn't support 8.3.

Also consider Londiste.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-general by date:

Previous
From: Stephen Frost
Date:
Subject: Re: secure deletion of archived logs
Next
From: "Zwettler Markus (OIZ)"
Date:
Subject: archiving question