/
Troubleshooting postgresql replication issues

Troubleshooting postgresql replication issues

This document will help you understand how you can troubleshoot issues pertaining to postgresql replication.

 

  • Check if postgresql replication is running

    ps -ef | grep sender
    ps -ef | grep receiver
  • Check replication replay on slave

    select pg_last_xlog_receive_location();
    select pg_last_xlog_replay_location();
  • Restart replication on slave if needed (you do this by restarting postgresql on slave)

    sudo service postgresql-9.2 restart

 

Related content

FAQs / Troubleshooting
FAQs / Troubleshooting
Read with this
MySQL Replication Problems
MySQL Replication Problems
More like this
Known Issues with DB Backup and Restore
Known Issues with DB Backup and Restore
More like this
Bahmni Mart Installation Setup
Bahmni Mart Installation Setup
More like this
Connecting to various databases
Connecting to various databases
More like this
Troubleshooting steps for ERP sync
Troubleshooting steps for ERP sync
More like this

The Bahmni documentation is licensed under Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)