postgresql - Using pg_rewind during failover instead of rsync -


i'm using postgres 9.6 , pgpool 3.6.6

i have large database , improve time old master become slave. tried use pg_rewing , check return value. if fails initiate sync if return value 0 skip full sync. however, on several occasions return value zero, wal receiver did not come on machine. see startup process recovering process. strange thing seems replication data lag grows , shrinks, replication time lag grows.

please note initiate "checkpint" before pg_rewind because of following limitation. not think causing problems. https://www.postgresql.org/message-id/5540277d.8020309%40iki.fi

your input appreciated.

thanks avi


Comments

Popular posts from this blog

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -

minify - Minimizing css files -