Re: [ADMIN] upgrade path from PG 8.3 to PG 9.5 - Mailing list pgsql-admin

From Keith
Subject Re: [ADMIN] upgrade path from PG 8.3 to PG 9.5
Date
Msg-id CAHw75vtP=FPdVeMZE5bWE6_+Mi0RzyXgr7fEAjDCvBmkkMpdcQ@mail.gmail.com
Whole thread Raw
In response to [ADMIN] upgrade path from PG 8.3 to PG 9.5  (ghiureai <isabella.ghiurea@nrc-cnrc.gc.ca>)
Responses Re: [ADMIN] upgrade path from PG 8.3 to PG 9.5  (Thorsten Schöning <tschoening@am-soft.de>)
List pgsql-admin


On Thu, Feb 23, 2017 at 12:39 PM, ghiureai <isabella.ghiurea@nrc-cnrc.gc.ca> wrote:
Hi List,
we still have 2 hosts  running the old PG 8.3  version, we finally agreed to move to PG9.5, please advise what will be  the process for this upgrade ? the db size  for upgrade is 500GB(  with 4 table spaces on # volumes)
( do I need to move first to PG9.0 and next move up?)
Isabella


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


The pg_upgrade option is only available from 8.4 and up, so you're only simple option is a dump and restore. You could look into other logical replication tools such as slony, mimeo or bucardo that can replicate between major versions, but there's quite a bit of setup involved in any of these solutions. I'd recommend the dump restore for the simplest, most direct method.

You can go directly from 8.3 to 9.5. Just be sure and use the pg_dump from 9.5 to generate the dump file from 8.3.
Keith

pgsql-admin by date:

Previous
From: "Gilberto Castillo"
Date:
Subject: Re: [ADMIN] upgrade path from PG 8.3 to PG 9.5
Next
From: "Gone, Sajan"
Date:
Subject: Re: [ADMIN] postgresql admin