Re: Migrating Postgresql from Linux x86

From: Carlos Martinez <camarti(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Cc: Clive Anglin <canglin(at)us(dot)ibm(dot)com>
Subject: Re: Migrating Postgresql from Linux x86
Date: 2018-02-10 05:52:21
Message-ID: CA+Mn-Va0o=HnqGhxxgyknLK_Aq3XfJeXU+VMUB7BbEQQJmjAfQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi.

We do that migration from Postgres 9.0 (x86_64, Centos 6) to Postgres
9.6 (power, SUSE Enterprise 12).

The best way to us was to do a backup (pg_dump -Fc ...) and restore
using several cores (pg_restore -j N ..., where N equals to the
cores/jobs to be used). How many jobs launch to restore depends on:
the number of cores available and the I/O throughput. Make some test
to get the right number of jobs.

Our restore task took around four hours. We had a downtime of seven hours.

Other options are:

* You can try a logical replication (maybe pg_logical).

* Backup/restore without stop and then, make a downtime and
synchronize the changed data between tables.

We preferred the failsafe option and made a full downtime and we done
the job from Saturday to Sunday with a holiday Monday (It is 24x7x365
business, and get a downtime is somewhat difficult).

Best regards.

Carlos M.

On Fri, Feb 9, 2018 at 7:44 PM, Clive Anglin <canglin(at)us(dot)ibm(dot)com> wrote:
>
> Hi
>
> Anyone have migrated PostgreSQL running on Linux x86_64 to running on Linux on Power platform. Interested in a checklist of things to be done and if there is a proper document with the steps to completing would also be of interest.
>
>
>
> Thanks
>
>
>
> Clive A.
>
>
>
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Nicolas Paris 2018-02-10 15:13:04 New Copy Formats - avro/orc/parquet
Previous Message Clive Anglin 2018-02-10 00:44:23 Migrating Postgresql from Linux x86