Dmitry Koterov dmitry at koterov.ru
Sat May 12 06:52:36 PDT 2007
Hello.

But please, detalize how Slony uses LISTEN/NOTIFY and why, if it uses
LISTEN/NOTIFY, it still generates poll queries instead of sitting and
waiting for a NOTIFY event. I cannot find this information in the Slony
documentation.

My main goal is NOT to reduce the lag to zero, but - reduce it as much as
possible without bombing the master by polling queries. E.g. lag 0.2s is
allowed, but 5 polling queries per second is too much.

On 5/12/07, Andrew Sullivan <ajs at crankycanuck.ca> wrote:
>
> On Sat, May 12, 2007 at 02:47:14AM +0400, Dmitry Koterov wrote:
> > So, the question is: how to make the Slony to update slaves as fast as
> > possible without bombing the master with periodical queries? And - what
> is
> > the detailed meaning of sync_interval?
>
> There isn't a way to update the slaves as fast as possible without
> the queries, although more recent code reduces the LISTEN/NOTIFY
> dependency.  But this is _async_ replication.  If you want perfect
> copies, it can't do what you want.  It's always going to lag some.
>
> A
>
> --
> Andrew Sullivan  | ajs at crankycanuck.ca
> Everything that happens in the world happens at some place.
>                 --Jane Jacobs
> _______________________________________________
> Slony1-general mailing list
> Slony1-general at lists.slony.info
> http://lists.slony.info/mailman/listinfo/slony1-general
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.slony.info/pipermail/slony1-general/attachments/20070512/=
d20d0f34/attachment.htm


More information about the Slony1-general mailing list