4 Dec 2008 12:47
Re: Slow Replication on a single cluster.
Filip,
Thanks for the reply, but I solved the issue by doing as you suggested, dropped and recreated them from scratch.
Thanks for your reply,
Rene
On Thu, Dec 4, 2008 at 12:20 PM, Filip Rembiałkowski <filip.rembialkowski <at> gmail.com> wrote:
2008/11/27 René-Etienne Muscat <remuscat <at> gmail.com>I know it's a late reply but HTH.Hi everyone, I have a problem with slony replicating slowly on a particular cluster.
This problem came up after slony replication had stopped for a weekend and this particular cluster (replication set) had a backlog of about 3million rows (about 1.2million on sl_log1 and 1.8million on sl_log2).
with that much of a backlog we often found that it's faster to rebuild slave nodes from scratch than to wait for "normal" catch up.
After resuming slony replication (it had a problem with a table locks), all the replication sets resumed normally (inserting over 15,000 rows per batch), except for this particular set.
When I examined the log for this set on the slave, I saw a lot of SYNC events, but few fetch/delivery events, and the inserts are just about 350rows each time.
I also noted that it was giving a lot of log switch failures ("log switch to sl_log_1 still in progress - sl_log_2 not truncated").
I first tried stopping all replication and starting replication on this problematic set, but still replication was slow (lots of SYNC events but very few fetch/delivery events).
I also tried to resolve the issue by stopping all replication and vacuuming the sl_logs, without any success.
Does anyone know why this is happening? Is this normal? Can I do somthing to speed this up?
which pg version? which slony-I version?
do you have all needed indexes on sl_log* in place?
did you try to REINDEX them? (they are probably "bloated")
--
Filip Rembiałkowski
_______________________________________________ Slony1-general mailing list Slony1-general@... http://lists.slony.info/mailman/listinfo/slony1-general
RSS Feed