pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Lou Tseng <ltseng@advancedpricing.com>
To: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: Seeded Replication
Date: Thu, 4 Apr 2019 23:43:24 +0200
Message-ID: <9bc90591-3c4f-2d98-57a3-88019a5b3430@2ndquadrant.com> (raw)
In-Reply-To: <DM6PR11MB2939A18E1D2441B4B984165BC4570@DM6PR11MB2939.namprd11.prod.outlook.com>
References: <DM6PR11MB2939A18E1D2441B4B984165BC4570@DM6PR11MB2939.namprd11.prod.outlook.com>

On 2019-04-03 13:44, Lou Tseng wrote:
> However, our database is about 200G and it will take a long time to
> complete the initial data copy.  We would like to manually seed the
> subscriber database with data dump and then turn on the subscription
> like depesz showed in this
> post https://www.depesz.com/2017/02/07/waiting-for-postgresql-10-logical-replication/ .

I doubt you will get a huge speedup, since the dump and the initial data
copy use the same COPY command internally.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services





view thread (6+ messages)

Message-ID: <9bc90591-3c4f-2d98-57a3-88019a5b3430@2ndquadrant.com>
Permalink:  ../9bc90591-3c4f-2d98-57a3-88019a5b3430@2ndquadrant.com/
Also on:    postgresql.org/message-id/9bc90591-3c4f-2d98-57a3-88019a5b3430@2ndquadrant.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: peter.eisentraut@2ndquadrant.com, ltseng@advancedpricing.com
  Subject: Re: Seeded Replication
  In-Reply-To: <9bc90591-3c4f-2d98-57a3-88019a5b3430@2ndquadrant.com>
  References: <DM6PR11MB2939A18E1D2441B4B984165BC4570@DM6PR11MB2939.namprd11.prod.outlook.com> <9bc90591-3c4f-2d98-57a3-88019a5b3430@2ndquadrant.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