pglogical icon indicating copy to clipboard operation
pglogical copied to clipboard

QUESTION: Can I still use postgresql Physical replication after enabled pglogical?

Open xytxyt opened this issue 1 year ago • 1 comments

1: I have two main sever in different geolocation which is using pglogical for bi-directional replications 2: I want to have a full stream physical replica on each main server's location as hotstandby. Can I still use the postgresql's built in physical replica method to do so? Or is it necessary.

I tried to do it, but somehow I did not manage to see the data in the replica postgres. So want to get some ideas/confidence to check before I dig into it.

Thanks in advance.

xytxyt avatar Jan 22 '24 02:01 xytxyt

I have never used pglogical for BDR, but when I use it for postgres major version upgrades, usually the topology looks like:

  • Old writer
    • Old readers (physically replicating from old writer)
  • New/future writer (logically replicating from old writer)
    • New readers (physically replicating from new/future writer)

So the answer to the question of whether you can have a hot standby replicating physically from a pglogical subscriber is: yes.

aristocrates avatar Apr 09 '24 22:04 aristocrates