pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Logical decoding on standby
6+ messages / 4 participants
[nested] [flat]

* Logical decoding on standby
@ 2018-03-12 20:18 Andreas Joseph Krogh <andreas@visena.com>
  2018-03-12 23:58 ` Re: Logical decoding on standby Andreas Kretschmer <andreas@a-kretschmer.de>
  0 siblings, 1 reply; 6+ messages in thread

From: Andreas Joseph Krogh @ 2018-03-12 20:18 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org

Anybody knows if $subject will make it into v11?
 
--
Andreas Joseph Krogh

^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Logical decoding on standby
  2018-03-12 20:18 Logical decoding on standby Andreas Joseph Krogh <andreas@visena.com>
@ 2018-03-12 23:58 ` Andreas Kretschmer <andreas@a-kretschmer.de>
  2018-03-13 00:08   ` Re: Logical decoding on standby Andreas Kretschmer <andreas@a-kretschmer.de>
  0 siblings, 1 reply; 6+ messages in thread

From: Andreas Kretschmer @ 2018-03-12 23:58 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org; Andreas Joseph Krogh <andreas@visena.com>

On 12 March 2018 21:18:22 CET, Andreas Joseph Krogh <andreas@visena.com> wrote:
>Anybody knows if $subject will make it into v11?
> 
>--
>Andreas Joseph Krogh

Why do you think you needs this? 

Regards, Andreas


-- 
2ndQuadrant - The PostgreSQL Support Company




^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Logical decoding on standby
  2018-03-12 20:18 Logical decoding on standby Andreas Joseph Krogh <andreas@visena.com>
  2018-03-12 23:58 ` Re: Logical decoding on standby Andreas Kretschmer <andreas@a-kretschmer.de>
@ 2018-03-13 00:08   ` Andreas Kretschmer <andreas@a-kretschmer.de>
  2018-03-13 00:28     ` Re: Logical decoding on standby David G. Johnston <david.g.johnston@gmail.com>
  2018-03-13 01:40     ` Re: Logical decoding on standby Andres Freund <andres@anarazel.de>
  0 siblings, 2 replies; 6+ messages in thread

From: Andreas Kretschmer @ 2018-03-13 00:08 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org; Andreas Joseph Krogh <andreas@visena.com>

On 13 March 2018 00:58:27 CET, Andreas Kretschmer <andreas@a-kretschmer.de> wrote:
>On 12 March 2018 21:18:22 CET, Andreas Joseph Krogh
><andreas@visena.com> wrote:
>>Anybody knows if $subject will make it into v11?
>> 
>>--
>>Andreas Joseph Krogh
>
>Why do you think you needs this? 
>
>Regards, Andreas

Let me explain my question. One of the key aspects of logical replication is, that you can define what to replicate. That wouldn't work in this way, that's why i'm asking.

Regards, Andreas


-- 
2ndQuadrant - The PostgreSQL Support Company




^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Logical decoding on standby
  2018-03-12 20:18 Logical decoding on standby Andreas Joseph Krogh <andreas@visena.com>
  2018-03-12 23:58 ` Re: Logical decoding on standby Andreas Kretschmer <andreas@a-kretschmer.de>
  2018-03-13 00:08   ` Re: Logical decoding on standby Andreas Kretschmer <andreas@a-kretschmer.de>
@ 2018-03-13 00:28     ` David G. Johnston <david.g.johnston@gmail.com>
  1 sibling, 0 replies; 6+ messages in thread

From: David G. Johnston @ 2018-03-13 00:28 UTC (permalink / raw)
  To: Andreas Kretschmer <andreas@a-kretschmer.de>; +Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>; Andreas Joseph Krogh <andreas@visena.com>

On Mon, Mar 12, 2018 at 5:08 PM, Andreas Kretschmer <andreas@a-kretschmer.de
> wrote:

> Let me explain my question. One of the key aspects of logical replication
> is, that you can define what to replicate. That wouldn't work in this way,
> that's why i'm asking.


One of the key aspects of "standby" is that it is ready to be a drop-in
replacement for the "active" server, and today our logical replication
facility is not capable of ensuring that property and won't be for v11 that
I can tell.  I'm not certain that said capability is even a goal at present.

IOW, why do you need a "standby" that isn't a drop-in replacement for a
primary - i.e., can have a filter on what replicated data it accepts?

David J.

^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Logical decoding on standby
  2018-03-12 20:18 Logical decoding on standby Andreas Joseph Krogh <andreas@visena.com>
  2018-03-12 23:58 ` Re: Logical decoding on standby Andreas Kretschmer <andreas@a-kretschmer.de>
  2018-03-13 00:08   ` Re: Logical decoding on standby Andreas Kretschmer <andreas@a-kretschmer.de>
@ 2018-03-13 01:40     ` Andres Freund <andres@anarazel.de>
  2018-03-13 07:19       ` Re: Logical decoding on standby Andreas Kretschmer <andreas@a-kretschmer.de>
  1 sibling, 1 reply; 6+ messages in thread

From: Andres Freund @ 2018-03-13 01:40 UTC (permalink / raw)
  To: Andreas Kretschmer <andreas@a-kretschmer.de>; +Cc: pgsql-general@lists.postgresql.org; Andreas Joseph Krogh <andreas@visena.com>

Hi,

On 2018-03-13 01:08:03 +0100, Andreas Kretschmer wrote:
> On 13 March 2018 00:58:27 CET, Andreas Kretschmer <andreas@a-kretschmer.de> wrote:
> >On 12 March 2018 21:18:22 CET, Andreas Joseph Krogh
> ><andreas@visena.com> wrote:
> >>Anybody knows if $subject will make it into v11?

I can't see it happening for v11, there's not even a CF entry in the
last CF.


> >Why do you think you needs this? 
> >
> >Regards, Andreas
> 
> Let me explain my question. One of the key aspects of logical replication is, that you can define what to replicate. That wouldn't work in this way, that's why i'm asking.

The subject said logical decoding, not replication. There's a lot of
change data capture type workloads where decoding from the standby is
quite useful. And the design definitely would work for that, we've
explicitly took that into consideration.

Greetings,

Andres Freund




^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Logical decoding on standby
  2018-03-12 20:18 Logical decoding on standby Andreas Joseph Krogh <andreas@visena.com>
  2018-03-12 23:58 ` Re: Logical decoding on standby Andreas Kretschmer <andreas@a-kretschmer.de>
  2018-03-13 00:08   ` Re: Logical decoding on standby Andreas Kretschmer <andreas@a-kretschmer.de>
  2018-03-13 01:40     ` Re: Logical decoding on standby Andres Freund <andres@anarazel.de>
@ 2018-03-13 07:19       ` Andreas Kretschmer <andreas@a-kretschmer.de>
  0 siblings, 0 replies; 6+ messages in thread

From: Andreas Kretschmer @ 2018-03-13 07:19 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org



Am 13.03.2018 um 02:40 schrieb Andres Freund:
>
> The subject said logical decoding, not replication. There's a lot of
> change data capture type workloads where decoding from the standby is
> quite useful. And the design definitely would work for that, we've
> explicitly took that into consideration.
>
> Greetings,
>
> Andres Freund
>

Ah, thx, didn't know that.


Regards, Andreas

-- 
2ndQuadrant - The PostgreSQL Support Company.
www.2ndQuadrant.com





^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2018-03-13 07:19 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-03-12 20:18 Logical decoding on standby Andreas Joseph Krogh <andreas@visena.com>
2018-03-12 23:58 ` Andreas Kretschmer <andreas@a-kretschmer.de>
2018-03-13 00:08   ` Andreas Kretschmer <andreas@a-kretschmer.de>
2018-03-13 00:28     ` David G. Johnston <david.g.johnston@gmail.com>
2018-03-13 01:40     ` Andres Freund <andres@anarazel.de>
2018-03-13 07:19       ` Andreas Kretschmer <andreas@a-kretschmer.de>

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