Re: Best way to migrate a 200 GB database from PG 2.7 to 3.6

From: Andy Colson <andy(at)squeakycode(dot)net>
To: Filip Lyncker <lyncker(at)lyth(dot)de>, pgsql-general(at)postgresql(dot)org
Subject: Re: Best way to migrate a 200 GB database from PG 2.7 to 3.6
Date: 2015-04-15 19:14:46
Message-ID: 552EB8A6.4060505@squeakycode.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 4/15/2015 2:03 PM, Filip Lyncker wrote:
> Dear List,
>
> I need to migrate my database from a 2.x to 3.x. Usually Im using
> pg_basebackup , but this is not possible with different versions.
> Pg_dump seems to be an option but it is slow like hell and I dont want
> to stay offline all the time.
> Is there another possibility to migrate a database with 200 GB ?
>
> Thanks a lot,
>
> cheers
>
> Filip
>
>

Postgresql is on version 9. What do you mean version 2 or 3?

Maybe use replication?

http://www.slony.info/documentation/1.2/versionupgrade.html

Or something similar?

-Andy

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Joshua D. Drake 2015-04-15 19:22:06 Re: Best way to migrate a 200 GB database from PG 2.7 to 3.6
Previous Message Igor Neyman 2015-04-15 19:10:52 Re: Best way to migrate a 200 GB database from PG 2.7 to 3.6