From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Table Export & Import
Date: Mon, 1 Apr 2019 10:11:38 -0500
Message-ID: <6039355a-c591-91f9-c1f7-336650f38ed3@gmail.com> (raw)
In-Reply-To: <CANa_DOhBCbyjfhsGTq40KJ3g8zaEv8X5jmFRuS1X7g8Vzxq+YQ@mail.gmail.com>
References: <CANa_DOjkhyp3bCmWeNCCH3CXWxTBL-cYu1qBZC+09+c20q8hyQ@mail.gmail.com>
<8c30a0f2-0b2c-ac4b-5d55-94bddda98441@aklaver.com>
<CANa_DOhBCbyjfhsGTq40KJ3g8zaEv8X5jmFRuS1X7g8Vzxq+YQ@mail.gmail.com>
/"so we need to stop our application until the export/import is completed."/
Why?
On 4/1/19 9:47 AM, Sathish Kumar wrote:
> Hi Adrian,
> We are exporting live table data to a new database, so we need to stop our
> application until the export/import is completed. We would like to
> minimise this downtime.
>
> On Mon, Apr 1, 2019, 10:22 PM Adrian Klaver <adrian.klaver@aklaver.com
> <mailto:adrian.klaver@aklaver.com>> wrote:
>
> On 3/31/19 11:09 PM, Sathish Kumar wrote:
> > Hi Team,
> >
> > We have a requirement to copy a table from one database server to
> > another database server. We are looking for a solution to achieve this
> > with lesser downtime on Prod. Can you help us with this?
>
> So what is creating the downtime now?
>
> In addition to other suggestions you might want to take a look at:
>
> https://www.postgresql.org/docs/9.5/postgres-fdw.html
>
>
> >
> > Table Size: 160GB
> > Postgresql Server Version: 9.5
> >
> >
>
--
Angular momentum makes the world go 'round.
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: ronljohnsonjr@gmail.com
Subject: Re: Table Export & Import
In-Reply-To: <6039355a-c591-91f9-c1f7-336650f38ed3@gmail.com>
References: <CANa_DOjkhyp3bCmWeNCCH3CXWxTBL-cYu1qBZC+09+c20q8hyQ@mail.gmail.com> <8c30a0f2-0b2c-ac4b-5d55-94bddda98441@aklaver.com> <CANa_DOhBCbyjfhsGTq40KJ3g8zaEv8X5jmFRuS1X7g8Vzxq+YQ@mail.gmail.com> <6039355a-c591-91f9-c1f7-336650f38ed3@gmail.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