pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Natalie Wenz <nataliewenz@gmail.com>
To: pgsql-admin@lists.postgresql.org
Subject: Logical replication and xids
Date: Sun, 2 Dec 2018 21:55:57 -0600
Message-ID: <E850EE71-E4FA-44A0-8A93-52CBDC948714@gmail.com> (raw)

How is the initial snapshot executed in Postgres 10 logical replication? Mainly, I’m wondering if it would hold open a transaction id on the publishing database the entire time. 

(I’m dealing with several databases that are quite large with tables I want to replicate that are up to 4 or 5 TB, and I’m worried about running out of xids while the initial snapshot is sent.)

Thank you,
Natalie



Message-ID: <E850EE71-E4FA-44A0-8A93-52CBDC948714@gmail.com>
Permalink:  ../E850EE71-E4FA-44A0-8A93-52CBDC948714@gmail.com/
Also on:    postgresql.org/message-id/E850EE71-E4FA-44A0-8A93-52CBDC948714@gmail.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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: nataliewenz@gmail.com, pgsql-admin@lists.postgresql.org
  Subject: Re: Logical replication and xids
  In-Reply-To: <E850EE71-E4FA-44A0-8A93-52CBDC948714@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