pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Kellerer <shammat@gmx.net>
To: pgsql-admin@lists.postgresql.org
Subject: Re: Logical replication alternative
Date: Wed, 4 Nov 2020 12:58:33 +0100
Message-ID: <998fc693-ca58-ae60-b082-45de80a78b19@gmx.net> (raw)
In-Reply-To: <CALhHtcAhgLkN0SM6iZqG0S5OZw6_Q-3YaBrtrBMNwiWzF3YM0A@mail.gmail.com>
References: <CALhHtcAhgLkN0SM6iZqG0S5OZw6_Q-3YaBrtrBMNwiWzF3YM0A@mail.gmail.com>

Yambu schrieb am 04.11.2020 um 11:55:
> May i know what is the alternative to logical replication if i want
> to replicate a few tables on postgres v10?

What about using foreign tables?
Then no replication would be required.

If that is to slow, you could create a materialized view on the
"secondary" server that is based on the foreign tables.

You can refresh the MVIEW multiple times a day.

The downside is that this isn't incremental, you would always copy
all the data.

Thomas









view thread (7+ messages)  latest in thread

Message-ID: <998fc693-ca58-ae60-b082-45de80a78b19@gmx.net>
Permalink:  ../998fc693-ca58-ae60-b082-45de80a78b19@gmx.net/
Also on:    postgresql.org/message-id/998fc693-ca58-ae60-b082-45de80a78b19@gmx.net

 · 

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: shammat@gmx.net, pgsql-admin@lists.postgresql.org
  Subject: Re: Logical replication alternative
  In-Reply-To: <998fc693-ca58-ae60-b082-45de80a78b19@gmx.net>

* 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