Streaming Replication

Posted September 1, 2021 242 views
ScalingPostgreSQLDatabasesUbuntu 20.04

as i was following through the same topic ive come across a problem, the basebackup completed and i restarted the replica but the master is still not showing streaming when ive ran the command of pg stat replication

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer


It sounds like that there might be a connectivity issue, if you have a firewall, make sure to allow your replica IP on your main server, and also allow your main server on your replica so that the two servers could communicate directly.

If this does not help, feel free to share your pg_hba.conf file here and also what is the output of the following statement:

SELECT client_addr, state FROM pg_stat_replication;