pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedCreate a logical and physical replication
5+ messages / 4 participants
[nested] [flat]
* Create a logical and physical replication
@ 2019-11-04 13:35 Ashok Kumar Tiwari <ashokt@ohumhealthcare.com>
2019-11-05 05:54 ` Re: Create a logical and physical replication Kyotaro Horiguchi <horikyota.ntt@gmail.com>
0 siblings, 1 reply; 5+ messages in thread
From: Ashok Kumar Tiwari @ 2019-11-04 13:35 UTC (permalink / raw)
To: Rui DeSousa <rui@crazybean.net>; Shital A <brightuser2019@gmail.com>; pgsql-general@lists.postgresql.org; pgsql-admin@lists.postgresql.org
Hi all,
is it possible in postgres to create one physical replica for DR(data
recovery purpose) and another one logical replica for reporting purpose
master --------> physical standby (for DR Purpose)
|
|
|
|
logical replica for reporting purpose
------------------ or cascading logic replication
master --------> physical standby (for DR Purpose) ------------- >
logical replica for reporting purpose
--
Ashok Kumar Tiwari,
Senior Technical Consultant,
ashokt@ohumhealthcare.com,
*M*:+91-9657628833
--
Save a tree. Please avoid printing this email unless necessary.
*****
Email confidentiality notice *****
This message is private and
confidential. If you have received this message in error, please notify us
and remove it from your system.
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Create a logical and physical replication
2019-11-04 13:35 Create a logical and physical replication Ashok Kumar Tiwari <ashokt@ohumhealthcare.com>
@ 2019-11-05 05:54 ` Kyotaro Horiguchi <horikyota.ntt@gmail.com>
2019-11-05 11:12 ` Re: Create a logical and physical replication Ashok Kumar Tiwari <ashokt@ohumhealthcare.com>
0 siblings, 1 reply; 5+ messages in thread
From: Kyotaro Horiguchi @ 2019-11-05 05:54 UTC (permalink / raw)
To: ashokt@ohumhealthcare.com; +Cc: rui@crazybean.net; brightuser2019@gmail.com; pgsql-general@lists.postgresql.org; pgsql-admin@lists.postgresql.org
Hello.
At Mon, 4 Nov 2019 19:05:24 +0530, Ashok Kumar Tiwari <ashokt@ohumhealthcare.com> wrote in
> is it possible in postgres to create one physical replica for DR(data
> recovery purpose) and another one logical replica for reporting purpose
A physical replication standby cannot be a publisher. You will find
that CREATE PUBLICATION fails.
> master --------> physical standby (for DR Purpose)
> |
> |
> |
> |
> logical replica for reporting purpose
>
> ------------------ or cascading logic replication
>
> master --------> physical standby (for DR Purpose) ------------- >
> logical replica for reporting purpose
The former works (as documented in [1]) but the latter doesn't.
By the way, If I'm not missing anything I don't find a description on
this restriction in the documentation. Shouldn't it be in [2], or
[1]?
[1]: https://www.postgresql.org/docs/12/logical-replication.html
[2]: https://www.postgresql.org/docs/12/logical-replication-restrictions.html
regards.
--
Kyotaro Horiguchi
NTT Open Source Software Center
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Create a logical and physical replication
2019-11-04 13:35 Create a logical and physical replication Ashok Kumar Tiwari <ashokt@ohumhealthcare.com>
2019-11-05 05:54 ` Re: Create a logical and physical replication Kyotaro Horiguchi <horikyota.ntt@gmail.com>
@ 2019-11-05 11:12 ` Ashok Kumar Tiwari <ashokt@ohumhealthcare.com>
2019-11-05 11:15 ` Re: Create a logical and physical replication Deepak Pahuja . <deepakpahuja@hotmail.com>
0 siblings, 1 reply; 5+ messages in thread
From: Ashok Kumar Tiwari @ 2019-11-05 11:12 UTC (permalink / raw)
To: Kyotaro Horiguchi <horikyota.ntt@gmail.com>; +Cc: Rui DeSousa <rui@crazybean.net>; Shital A <brightuser2019@gmail.com>; pgsql-general@lists.postgresql.org; pgsql-admin@lists.postgresql.org
its possible to cascade a logical replication from a binary slave replica?
[image: image.png]
On Tue, Nov 5, 2019 at 11:25 AM Kyotaro Horiguchi <horikyota.ntt@gmail.com>
wrote:
> Hello.
>
> At Mon, 4 Nov 2019 19:05:24 +0530, Ashok Kumar Tiwari <
> ashokt@ohumhealthcare.com> wrote in
> > is it possible in postgres to create one physical replica for DR(data
> > recovery purpose) and another one logical replica for reporting purpose
>
> A physical replication standby cannot be a publisher. You will find
> that CREATE PUBLICATION fails.
>
> > master --------> physical standby (for DR Purpose)
> > |
> > |
> > |
> > |
> > logical replica for reporting purpose
> >
> > ------------------ or cascading logic replication
> >
> > master --------> physical standby (for DR Purpose) ------------- >
> > logical replica for reporting purpose
>
> The former works (as documented in [1]) but the latter doesn't.
>
>
> By the way, If I'm not missing anything I don't find a description on
> this restriction in the documentation. Shouldn't it be in [2], or
> [1]?
>
> [1]: https://www.postgresql.org/docs/12/logical-replication.html
> [2]:
> https://www.postgresql.org/docs/12/logical-replication-restrictions.html
>
> regards.
>
> --
> Kyotaro Horiguchi
> NTT Open Source Software Center
>
--
Ashok Kumar Tiwari,
Senior Technical Consultant,
ashokt@ohumhealthcare.com,
*M*:+91-9657628833
--
Save a tree. Please avoid printing this email unless necessary.
*****
Email confidentiality notice *****
This message is private and
confidential. If you have received this message in error, please notify us
and remove it from your system.
Attachments:
image.png (image/png, 145.2K) download
view image
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Create a logical and physical replication
2019-11-04 13:35 Create a logical and physical replication Ashok Kumar Tiwari <ashokt@ohumhealthcare.com>
2019-11-05 05:54 ` Re: Create a logical and physical replication Kyotaro Horiguchi <horikyota.ntt@gmail.com>
2019-11-05 11:12 ` Re: Create a logical and physical replication Ashok Kumar Tiwari <ashokt@ohumhealthcare.com>
@ 2019-11-05 11:15 ` Deepak Pahuja . <deepakpahuja@hotmail.com>
2019-11-05 11:40 ` Re: Create a logical and physical replication Andreas Joseph Krogh <andreas@visena.com>
0 siblings, 1 reply; 5+ messages in thread
From: Deepak Pahuja . @ 2019-11-05 11:15 UTC (permalink / raw)
To: Ashok Kumar Tiwari <ashokt@ohumhealthcare.com>; Kyotaro Horiguchi <horikyota.ntt@gmail.com>; +Cc: Rui DeSousa <rui@crazybean.net>; Shital A <brightuser2019@gmail.com>; pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>; pgsql-admin@lists.postgresql.org <pgsql-admin@lists.postgresql.org>
Yes it is possible.
Get Outlook for Android<https://aka.ms/ghei36;
________________________________
From: Ashok Kumar Tiwari <ashokt@ohumhealthcare.com>
Sent: Tuesday, November 5, 2019 7:12:45 PM
To: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Cc: Rui DeSousa <rui@crazybean.net>; Shital A <brightuser2019@gmail.com>; pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>; pgsql-admin@lists.postgresql.org <pgsql-admin@lists.postgresql.org>
Subject: Re: Create a logical and physical replication
its possible to cascade a logical replication from a binary slave replica?
[image.png]
On Tue, Nov 5, 2019 at 11:25 AM Kyotaro Horiguchi <horikyota.ntt@gmail.com<mailto:horikyota.ntt@gmail.com>> wrote:
Hello.
At Mon, 4 Nov 2019 19:05:24 +0530, Ashok Kumar Tiwari <ashokt@ohumhealthcare.com<mailto:ashokt@ohumhealthcare.com>> wrote in
> is it possible in postgres to create one physical replica for DR(data
> recovery purpose) and another one logical replica for reporting purpose
A physical replication standby cannot be a publisher. You will find
that CREATE PUBLICATION fails.
> master --------> physical standby (for DR Purpose)
> |
> |
> |
> |
> logical replica for reporting purpose
>
> ------------------ or cascading logic replication
>
> master --------> physical standby (for DR Purpose) ------------- >
> logical replica for reporting purpose
The former works (as documented in [1]) but the latter doesn't.
By the way, If I'm not missing anything I don't find a description on
this restriction in the documentation. Shouldn't it be in [2], or
[1]?
[1]: https://www.postgresql.org/docs/12/logical-replication.html
[2]: https://www.postgresql.org/docs/12/logical-replication-restrictions.html
regards.
--
Kyotaro Horiguchi
NTT Open Source Software Center
--
Ashok Kumar Tiwari,
Senior Technical Consultant,
ashokt@ohumhealthcare.com<mailto:ashokt@ohumhealthcare.com>,
M:+91-9657628833
[http://www.blystreecare.com/images/tree-clipart-4.gif] Save a tree. Please avoid printing this email unless necessary.
***** Email confidentiality notice *****
This message is private and confidential. If you have received this message in error, please notify us and remove it from your system.
Attachments:
image.png (image/png, 145.2K) download
view image
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Create a logical and physical replication
2019-11-04 13:35 Create a logical and physical replication Ashok Kumar Tiwari <ashokt@ohumhealthcare.com>
2019-11-05 05:54 ` Re: Create a logical and physical replication Kyotaro Horiguchi <horikyota.ntt@gmail.com>
2019-11-05 11:12 ` Re: Create a logical and physical replication Ashok Kumar Tiwari <ashokt@ohumhealthcare.com>
2019-11-05 11:15 ` Re: Create a logical and physical replication Deepak Pahuja . <deepakpahuja@hotmail.com>
@ 2019-11-05 11:40 ` Andreas Joseph Krogh <andreas@visena.com>
0 siblings, 0 replies; 5+ messages in thread
From: Andreas Joseph Krogh @ 2019-11-05 11:40 UTC (permalink / raw)
To: pgsql-general@lists.postgresql.org
På tirsdag 05. november 2019 kl. 12:15:20, skrev Deepak Pahuja . <
deepakpahuja@hotmail.com <mailto:deepakpahuja@hotmail.com>>:
Yes it is possible.
No it isn't. I think maybe this will address it for v13:
https://www.postgresql.org/message-id/flat/20181212204154.nsxf3gzqv3gesl32%40alap3.anarazel.de
<https://www.postgresql.org/message-id/flat/20181212204154.nsxf3gzqv3gesl32%40alap3.anarazel.de;
--
Andreas Joseph Krogh
^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2019-11-05 11:40 UTC | newest]
Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-11-04 13:35 Create a logical and physical replication Ashok Kumar Tiwari <ashokt@ohumhealthcare.com>
2019-11-05 05:54 ` Kyotaro Horiguchi <horikyota.ntt@gmail.com>
2019-11-05 11:12 ` Ashok Kumar Tiwari <ashokt@ohumhealthcare.com>
2019-11-05 11:15 ` Deepak Pahuja . <deepakpahuja@hotmail.com>
2019-11-05 11:40 ` Andreas Joseph Krogh <andreas@visena.com>
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