<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Hi guys,<br><br>I'm new to the list and have setup Slony from Australia to Hong Kong over a VPN - it is not a super fast link.<br><br>I have done this on one database with around 5 million rows and it was fine - took about 30 minutes to sync up.<br><br>However with another database that has 90 million+ rows, i'm running into trouble (I did remove indices first)<br><br>The initial sync seems to be taking too long (15 hours+ when I stopped it).<br><br>I was wondering how I monitor if anything is actually happening???:<o:p></o:p></p><p class=MsoNormal><br>1. I can see on the origin node, that a COPY seems to be occurring - <b><i>can anyone tell me if this is correct?</i></b><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 16083 postgres&nbsp; 20&nbsp;&nbsp; 0&nbsp; 212m 7876 5480 S&nbsp; 1.7&nbsp; 0.0&nbsp;&nbsp; 0:10.12 postgres: postgres mydatabase::1(39599) COPY<br><br>2. I can see on the slave node when I query sl_status that:<br>&nbsp;&nbsp;&nbsp; - st_last_event is <b>NOT CHANGING</b><br>&nbsp;&nbsp;&nbsp; - st_last_event_ts&nbsp; is <b>NOT CHANGING</b><br>&nbsp;&nbsp;&nbsp; - st_last_received is <b>NOT CHANGING</b><br>&nbsp;&nbsp;&nbsp; - st_last_received_ts is <b>NOT CHANGING<br>&nbsp;&nbsp;&nbsp; </b>- st_last_received_event_ts is <b>NOT CHANGING<br></b>&nbsp;&nbsp;&nbsp; - st_lag_num_events is <b>NOT CHANGING</b><br>&nbsp;&nbsp;&nbsp; - st_lag_time is increasing (around 18 hours)<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>&nbsp;&nbsp; Are these values expected or should some of them be increasing?<br><br>3. The logs on the slave showed this when I started slony, I presume this is correct:<br>&nbsp;&nbsp;&nbsp; NOTICE:&nbsp; truncate of &quot;public&quot;.&quot;my_table&quot; succeeded<br><br>4. The logs on the slave now show this repeatedly:<br>&nbsp;&nbsp;&nbsp; 2011-12-08 05:48:47 UTCDEBUG2 remoteListenThread_1: queue event 1,5000001502 SYNC<br>&nbsp;&nbsp;&nbsp; 2011-12-08 05:48:47 UTCDEBUG2 remoteListenThread_1: queue event 1,5000001503 SYNC<br>&nbsp;&nbsp;&nbsp; 2011-12-08 05:48:47 UTCDEBUG2 remoteListenThread_1: queue event 1,5000001504 SYNC<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>5. sl_log_1 and sl_log_2 are empty on both the master and slave &#8211; am I right in presuming these are only used when things change on an origin node and that they are not used for initial syncs?<br><br>What I would <b>LOVE</b>, is the ability to see what is happening. e.g. &quot;10,000 rows copied, 89 million to go&quot;, type logs. <br>I can't do a select on the slave node as that seems to just hang forever. <br><br>Any help on what to do would be most appreciated.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Note: slony 2.0.7<br><br>Thanks<br><br>Jon<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p></div></body></html>