<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><span style="color:rgb(34,34,34)">Does "standby" mean that PostgreSQL is stopped ?</span><br>
</div>
If Master doesn't have WAL files which new slave needs,<br>
new slave can't connect master.<br>
<br>
How do you solve it ?<br>
copy data or wal-archive on start automatically ?<br>
It may cause timed-out if PostgreSQL has large database.</blockquote><div><br></div><div>I'm using streaming replication. </div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
1. First boot<br>
RA compares data and promotes PostgreSQL which has latest data.<br>
The number of comparison can be changed using xlog_check_count parameter.<br>
If monitor interval is 10 sec and xlog_check_count is 360, RA can wait<br>
1 hour to promote :)</blockquote><div><br></div><div>I can't wait an hour :)</div><div>my maximum is 10 minutes :)</div><div><br></div><div>thanks</div><div>stefano</div></div></div></div>