Slony-Iの正常ログメモ

レプリケーション設定直後のログ

Slony-Iでレプリケーション設定を行った直後は以下のようなログが出力されます。
初回データコピーを行っている様子です。
この間スレーブサーバーに対して参照(データアクセス)は出来ません。

Jul 10 03:24:10 slavedb01 slon_slave[7717]: [1447-1] 2014-07-10 03:24:10 JSTCONFIG remoteWorkerThread_1: copy table "public"."table1"
Jul 10 03:24:10 slavedb01 slon_slave[7717]: [1448-1] 2014-07-10 03:24:10 JSTCONFIG remoteWorkerThread_1: Begin COPY of table "public"."table1"
Jul 10 03:25:05 slavedb01 slon_slave[7717]: [1449-1] 2014-07-10 03:25:05 JSTCONFIG remoteWorkerThread_1: 1491136775 bytes copied for table "public"."table1"
Jul 10 03:29:15 slavedb01 slon_slave[7717]: [1450-1] 2014-07-10 03:29:15 JSTCONFIG remoteWorkerThread_1: 305.659 seconds to copy table "public"."table1"
Jul 10 03:29:15 slavedb01 slon_slave[7717]: [1451-1] 2014-07-10 03:29:15 JSTCONFIG remoteWorkerThread_1: copy table "public"."table2"
Jul 10 03:29:15 slavedb01 slon_slave[7717]: [1452-1] 2014-07-10 03:29:15 JSTCONFIG remoteWorkerThread_1: Begin COPY of table "public"."table2"
Jul 10 03:42:44 slavedb01 slon_slave[7717]: [1453-1] 2014-07-10 03:42:44 JSTCONFIG remoteWorkerThread_1: 6302344309 bytes copied for table "public"."table2"
Jul 10 03:46:59 slavedb01 slon_slave[7717]: [1454-1] 2014-07-10 03:46:59 JSTCONFIG remoteWorkerThread_1: 1063.514 seconds to copy table "public"."table2"


レプリケーション中の正常ログ

データの初回コピーが完了した後のログです。
定期的に同期が走っている様子です。
このログが出ていればようやくスレーブサーバーに対して参照を行うことが出来ます。

Jul 10 15:34:46 slavedb01 slon_slave[7717]: [7026-1] 2014-07-10 15:34:46 JSTINFO   remoteWorkerThread_1: syncing set 1 with 320 table(s) from provider 1
Jul 10 15:34:46 slavedb01 slon_slave[7717]: [7027-1] 2014-07-10 15:34:46 JSTINFO   remoteWorkerThread_1: SYNC 5000009878 done in 0.012 seconds
Jul 10 15:34:48 slavedb01 slon_slave[7717]: [7028-1] 2014-07-10 15:34:48 JSTINFO   remoteWorkerThread_1: syncing set 1 with 320 table(s) from provider 1
Jul 10 15:34:48 slavedb01 slon_slave[7717]: [7029-1] 2014-07-10 15:34:48 JSTINFO   remoteWorkerThread_1: SYNC 5000009879 done in 0.015 seconds