tool to migrate database

Started by isabelle Rossalmost 5 years ago4 messages
#1isabelle Ross
mktg.ide@gmail.com

Hi,
I'm looking for a software to migrate database between versions with
minimum downtime.

which one can be used to do this job ?

thanks

Isabelle

<https://www.avast.com/sig-email?utm_medium=email&amp;utm_source=link&amp;utm_campaign=sig-email&amp;utm_content=webmail&gt;
Mail
priva di virus. www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&amp;utm_source=link&amp;utm_campaign=sig-email&amp;utm_content=webmail&gt;
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

#2Joel Jacobson
joel@compiler.org
In reply to: isabelle Ross (#1)
Re: tool to migrate database

On Mon, Mar 22, 2021, at 22:47, isabelle Ross wrote:

Hi,
I'm looking for a software to migrate database between versions with minimum downtime.

which one can be used to do this job ?

Hi Isabelle,

There are multiple ways to do it.
The fastest way is probably pg_upgrade.

There are some difference ways to do it depending on what requirements you have on redundancy while upgrading.

I recently read an interesting real-life story from a very big company, Adyen, and how they upgraded their 50 terrabyte PostgreSQL database. The article is from 2018 but I still think it's relevant:

https://medium.com/adyen/updating-a-50-terabyte-postgresql-database-f64384b799e7

There might be other good tools I don't know of, I'm not an expert on upgrades.
Hopefully other pghackers can fill in.

Best regards,

Joel

#3Bruce Momjian
bruce@momjian.us
In reply to: Joel Jacobson (#2)
Re: tool to migrate database

On Tue, Mar 23, 2021 at 09:49:57AM +0100, Joel Jacobson wrote:

I recently read an interesting real-life story from a very big company, Adyen,
and how they upgraded their 50 terrabyte PostgreSQL database. The article is
from 2018 but I still think it's relevant:

https://medium.com/adyen/
updating-a-50-terabyte-postgresql-database-f64384b799e7

There might be other good tools I don't know of, I'm not an expert on upgrades.
Hopefully other pghackers can fill in.

This is not an appropriate topic for the hackers email list, which is
for internal server development discussion. The 'general' or 'admin'
lists would be better.

--
Bruce Momjian <bruce@momjian.us> https://momjian.us
EDB https://enterprisedb.com

If only the physical world exists, free will is an illusion.

#4silvio brandani
sbrandans@gmail.com
In reply to: Bruce Momjian (#3)
Re: tool to migrate database

concepts similar and related to migration/replication are applied with
the software tcapture , please give a look at https://www.tcapture.net/

Il giorno gio 29 apr 2021 alle ore 16:34 Bruce Momjian <bruce@momjian.us>
ha scritto:

Show quoted text

On Tue, Mar 23, 2021 at 09:49:57AM +0100, Joel Jacobson wrote:

I recently read an interesting real-life story from a very big company,

Adyen,

and how they upgraded their 50 terrabyte PostgreSQL database. The

article is

from 2018 but I still think it's relevant:

https://medium.com/adyen/
updating-a-50-terabyte-postgresql-database-f64384b799e7

There might be other good tools I don't know of, I'm not an expert on

upgrades.

Hopefully other pghackers can fill in.

This is not an appropriate topic for the hackers email list, which is
for internal server development discussion. The 'general' or 'admin'
lists would be better.

--
Bruce Momjian <bruce@momjian.us> https://momjian.us
EDB https://enterprisedb.com

If only the physical world exists, free will is an illusion.