pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Julie Nishimura <juliezain@hotmail.com>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
To: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: migration from 9.4 to 9.6
Date: Fri, 6 Dec 2019 14:02:26 -0800
Message-ID: <ef6827d6-a93f-c1b5-a092-eeda66306ec7@aklaver.com> (raw)
In-Reply-To: <BYAPR08MB501449BEF9E79FE504DC020DAC5F0@BYAPR08MB5014.namprd08.prod.outlook.com>
References: <BYAPR08MB5014AD1A201C44B9DA0819D6AC5F0@BYAPR08MB5014.namprd08.prod.outlook.com>
	<b886d09c-06a8-322f-1d05-9fbe7b63a4e5@aklaver.com>
	<BYAPR08MB501449BEF9E79FE504DC020DAC5F0@BYAPR08MB5014.namprd08.prod.outlook.com>

On 12/6/19 1:38 PM, Julie Nishimura wrote:
> I'd like to copy one single database from 9.4 cluster to a new 9.6 
> cluster (migration with the upgrade), to the different host

Choices:

1) Dump/restore.

2) Afore mentioned Slony.

3) The pglogical 
extension(https://www.2ndquadrant.com/en/resources/pglogical/pglogical-docs/). 
The forerunner to the built in logical replication in 10+.

> 
> 
> ------------------------------------------------------------------------
> *From:* Adrian Klaver <adrian.klaver@aklaver.com>
> *Sent:* Friday, December 6, 2019 1:32 PM
> *To:* Julie Nishimura <juliezain@hotmail.com>; 
> pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>; 
> pgsql-general <pgsql-general@postgresql.org>
> *Subject:* Re: migration from 9.4 to 9.6
> On 12/6/19 1:19 PM, Julie Nishimura wrote:
>> Hello there, what would be my best way to migrate 2 tb single database 
>> from cluster 9.4 to another machine on 9.6?
> 
> Not clear if you want to add database to an existing 9.6 cluster or
> create a new 9.6 cluster containing the 9.4 database?
> 
>> 
>> Thank you!
> 
> 
> -- 
> Adrian Klaver
> adrian.klaver@aklaver.com


-- 
Adrian Klaver
adrian.klaver@aklaver.com





view thread (6+ messages)  latest in thread

Message-ID: <ef6827d6-a93f-c1b5-a092-eeda66306ec7@aklaver.com>
Permalink:  ../ef6827d6-a93f-c1b5-a092-eeda66306ec7@aklaver.com/
Also on:    postgresql.org/message-id/ef6827d6-a93f-c1b5-a092-eeda66306ec7@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, juliezain@hotmail.com
  Subject: Re: migration from 9.4 to 9.6
  In-Reply-To: <ef6827d6-a93f-c1b5-a092-eeda66306ec7@aklaver.com>
  References: <BYAPR08MB5014AD1A201C44B9DA0819D6AC5F0@BYAPR08MB5014.namprd08.prod.outlook.com> <b886d09c-06a8-322f-1d05-9fbe7b63a4e5@aklaver.com> <BYAPR08MB501449BEF9E79FE504DC020DAC5F0@BYAPR08MB5014.namprd08.prod.outlook.com> <ef6827d6-a93f-c1b5-a092-eeda66306ec7@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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