<div dir="ltr">2013/7/3 Andrey Groshev <span dir="ltr"><<a href="mailto:greenx@yandex.ru" target="_blank">greenx@yandex.ru</a>></span><br><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> </div><div> </div><div>03.07.2013, 12:30, "Stefano Sasso" <<a href="mailto:stesasso@gmail.com" target="_blank">stesasso@gmail.com</a>>:</div><div class="im"><blockquote type="cite"><div dir="ltr">2013/7/3 Andrey Groshev <span dir="ltr"><<a href="mailto:greenx@yandex.ru" target="_blank">greenx@yandex.ru</a>></span><br>
<div><div><blockquote style="margin:0 0 0 0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div> </div><div> </div><div>03.07.2013, 11:42, "Stefano Sasso" <<a href="mailto:stesasso@gmail.com" target="_blank">stesasso@gmail.com</a>>:</div>
<div><blockquote type="cite"><div dir="ltr"><div><div><blockquote style="margin:0 0 0 0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div><span style="color:#222222">Does "standby" mean that PostgreSQL is stopped ?</span></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> </div><div>I'm using streaming replication. </div></div></div></div></blockquote><div> </div></div><div>This is understandable, it is not clear what your "slave" is different from "standby".</div>
</blockquote><div> </div><div>slave is syncronized with streaming replication,</div><div>standby do a sync on daily basis (so if both master and slave fails, I lose only one day of data - not a problem).</div></div></div>
</div></blockquote><div> </div></div><div>I would call it a "backup" :)</div></blockquote><div><br></div><div>yeah, but a standby can become a master or a slave ;)</div><div><br></div><div>bests,</div><div>stefano </div>
</div><br clear="all"><div><br></div>-- <br>Stefano Sasso<br><a href="http://stefano.dscnet.org/">http://stefano.dscnet.org/</a>
</div></div>