pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Pgupgrade is best?
3+ messages / 3 participants
[nested] [flat]

* Pgupgrade is best?
@ 2019-03-07 11:40  still Learner <stilllearner23@gmail.com>
  0 siblings, 2 replies; 3+ messages in thread

From: still Learner @ 2019-03-07 11:40 UTC (permalink / raw)
  To: pgsql-admin@lists.postgresql.org

Hi There,

Planning to upgrade a double digit TB sized DB from PG 9.4 to 11.1. what is
the best way ? Logical or pgupgrade with -k ? Or any other plz suggest.
Tried slony but didn't help much in poc.

Thanks in advance.

Regards.

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Pgupgrade is best?
@ 2019-03-07 12:05  Fabio Pardi <f.pardi@portavita.eu>
  parent: still Learner <stilllearner23@gmail.com>
  1 sibling, 0 replies; 3+ messages in thread

From: Fabio Pardi @ 2019-03-07 12:05 UTC (permalink / raw)
  To: pgsql-admin@lists.postgresql.org

Hi,

If a bit of primary database downtime (and a lot of standby(s) re-sync
time) is an issue, I would use logical replication.

regards,

fabio pardi


On 3/7/19 12:40 PM, still Learner wrote:
> Hi There,
> 
> Planning to upgrade a double digit TB sized DB from PG 9.4 to 11.1. what
> is the best way ? Logical or pgupgrade with -k ? Or any other plz
> suggest. Tried slony but didn't help much in poc.
> 
> Thanks in advance.
> 
> Regards.




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Pgupgrade is best?
@ 2019-03-07 12:26  Achilleas Mantzios <achill@matrix.gatewaynet.com>
  parent: still Learner <stilllearner23@gmail.com>
  1 sibling, 0 replies; 3+ messages in thread

From: Achilleas Mantzios @ 2019-03-07 12:26 UTC (permalink / raw)
  To: pgsql-admin@lists.postgresql.org

On 7/3/19 1:40 μ.μ., still Learner wrote:
> Hi There,
>
> Planning to upgrade a double digit TB sized DB from PG 9.4 to 11.1. what is the best way ? Logical or pgupgrade with -k ? Or any other plz suggest. Tried slony but didn't help much in poc.
We upgraded ours from 9.3 -> 10 in summer 2018, with quite a lot of custom code, functions, extensions and it went absolutely fine, we were able to have the server up in some minutes.
However, you should EXTREMELY test everything before the final upgrade, and I dont mean only the actual app (and all kinds of db related code, queries, data sources, drivers, etc),  but the actual 
pg_upgrade as well. You don't wanna be left compiling and upgrading some extension during the upgrade phase. All should be tested and documented (I wouldn't say automated but you get the point) 
beforehand.
>
> Thanks in advance.
>
> Regards.


-- 
Achilleas Mantzios
IT DEV Lead
IT DEPT
Dynacom Tankers Mgmt





^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2019-03-07 12:26 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-03-07 11:40 Pgupgrade is best? still Learner <stilllearner23@gmail.com>
2019-03-07 12:05 ` Fabio Pardi <f.pardi@portavita.eu>
2019-03-07 12:26 ` Achilleas Mantzios <achill@matrix.gatewaynet.com>

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