February 2020
Intermediate to advanced
734 pages
38h 13m
English
This recipe will assume that we have two PostgreSQL BDR servers as pgha1 and pgha2 and a PgBouncer and HAProxy server as pgha-proxy. Follow these steps to observe and improve cluster failover time:
while [ true ]; do \ psql -qAt -U postgres myapp \ -c "SELECT inet_server_addr(), now()"; \ done
sudo systemctl stop postgresql@10-main
sudo ...
Read now
Unlock full access